#478B24#478B24

#478B24 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.152 H 137.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#478B24
RGBrgb(71, 139, 36)
HSLhsl(100, 59%, 34%)
HSVhsv(100, 74%, 55%)
CMYKcmyk(48.9%, 0%, 74.1%, 45.5%)
CIE-LABlab(51.76, -40.20, 45.81)
CIE-LCHlch(51.76, 60.94, 131.27°)
OKLaboklab(57.07% -0.1114 0.1034)
OKLCHoklch(57.07% 0.152 137.1)
XYZxyz(12.1492, 19.9314, 4.8757)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B24 #68248B
analogous
#7B8B24 #478B24 #248B35
triadic
#478B24 #24478B #8B2447
tetradic
#478B24 #247B8B #68248B #8B3524
square
#478B24 #247B8B #68248B #8B3524
split-complementary
#478B24 #35248B #8B247B
monochromatic
#152A0B #2E5A17 #478B24 #60BC31 #81D356

Accessibility & contrast

On white

4.21
#478B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#478B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478B24
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478B24#FFFFFF#000000##000000
##478B241.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F12
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#438677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478b24;
/* rgb */ color: rgb(71, 139, 36);
/* oklch */ color: oklch(57.1% 0.152 137.1);
Tailwind
colors: {
  custom: {
    50: '#81ad66',
    500: '#478b24',
    950: '#000000',
  },
}
SCSS
$custom: #478b24;
$custom-light: #81ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#478b24",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 99.612,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57073,
    "c": 0.15202,
    "h": 137.1
  },
  "luminance": 0.19932
}

Semantic roles & 50–950 ramp

primary
#478B24
secondary
#9553B7
accent
#46E2AD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478B24

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#478B24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva