#04B430

A color in the Green family

#04b430 is a color in the Green family: RGB(4, 180, 48), HSL(135°, 96%, 36%), CMYK(98%, 0%, 73%, 29%). Closest named color: mediumseagreen. Contrast is 2.77:1 on white and 7.58:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#04b430
RGBrgb(4 180 48)
RGB (legacy)rgb(4, 180, 48)
RGB %rgb(2% 71% 19%)
HSLhsl(135 96% 36%)
HSV / HSBhsv(135, 98%, 71%)
HWBhwb(135 2% 29%)
CMYKcmyk(98%, 0%, 73%, 29%)
CIELAB (D50)lab(64.1 -59.22 52.18)
LCHlch(64.1 78.93 138.62)
OKLaboklab(0.6693 -0.1722 0.1213)
OKLCHoklch(0.6693 0.2106 144.84)
Decimal308272

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 7.5
Closest web-safe color#00cc33
Hue135°
Saturation (HSL / HSV)96% / 98%
Lightness (HSL)36%
Brightness or Value (HSV)71%
Luminance (Rec.601 / Rec.709)44% / 52%
Relative luminance (WCAG)0.3288
Red / Green / Blue4 / 180 / 48

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.77:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.58:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 52.7 / -49.2 · As background with white / black text: Lc -57.9 / 51.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #04b430;
  --color-brand-oklch: oklch(66.93% 0.2106 144.84);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(4 180 48 / 50%); }
/* Tailwind CSS */
<div class="bg-[#04b430] text-[#04b430] border-[#04b430]">