#478B23#478B23

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

Color values

HEX#478B23
RGBrgb(71, 139, 35)
HSLhsl(99, 60%, 34%)
HSVhsv(99, 75%, 55%)
CMYKcmyk(48.9%, 0%, 74.8%, 45.5%)
CIE-LABlab(51.75, -40.27, 46.18)
CIE-LCHlch(51.75, 61.27, 131.09°)
OKLaboklab(57.07% -0.1117 0.104)
OKLCHoklch(57.07% 0.153 137)
XYZxyz(12.1342, 19.9254, 4.7964)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B23 #67238B
analogous
#7B8B23 #478B23 #238B33
triadic
#478B23 #23478B #8B2347
tetradic
#478B23 #237B8B #67238B #8B3323
square
#478B23 #237B8B #67238B #8B3323
split-complementary
#478B23 #33238B #8B237B
monochromatic
#15290A #2E5A17 #478B23 #60BC2F #81D454

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478B23#FFFFFF#000000##000000
##478B231.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)
#907F10
Deuteranopia (green-blind)
#87792D
Tritanopia (blue-blind)
#438677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478b23;
/* rgb */ color: rgb(71, 139, 35);
/* oklch */ color: oklch(57.1% 0.153 137.0);
Tailwind
colors: {
  custom: {
    50: '#81ad65',
    500: '#478b23',
    950: '#000000',
  },
}
SCSS
$custom: #478b23;
$custom-light: #81ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#478b23",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 99.231,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57065,
    "c": 0.15265,
    "h": 137
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#478B23
secondary
#9552B8
accent
#45E3AC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478B23

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

Preview Lab → · Contrast checker → · Palette generator →

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