#478D23#478D23

#478D23 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.155 H 137.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#478D23
RGBrgb(71, 141, 35)
HSLhsl(100, 60%, 35%)
HSVhsv(100, 75%, 55%)
CMYKcmyk(49.6%, 0%, 75.2%, 44.7%)
CIE-LABlab(52.41, -41.10, 46.84)
CIE-LCHlch(52.41, 62.31, 131.26°)
OKLaboklab(57.6% -0.1139 0.1054)
OKLCHoklch(57.6% 0.155 137.2)
XYZxyz(12.4264, 20.5098, 4.8938)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D23 #69238D
analogous
#7C8D23 #478D23 #238D34
triadic
#478D23 #23478D #8D2347
tetradic
#478D23 #237C8D #69238D #8D3423
square
#478D23 #237C8D #69238D #8D3423
split-complementary
#478D23 #34238D #8D237C
monochromatic
#162B0B #2E5C17 #478D23 #60BE2F #81D555

Accessibility & contrast

On white

4.12
#478D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#478D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D23
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D23#FFFFFF#000000##000000
##478D231.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810F
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#438879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d23;
/* rgb */ color: rgb(71, 141, 35);
/* oklch */ color: oklch(57.6% 0.155 137.2);
Tailwind
colors: {
  custom: {
    50: '#81af65',
    500: '#478d23',
    950: '#000000',
  },
}
SCSS
$custom: #478d23;
$custom-light: #81af65;
$custom-dark: #000000;
JSON
{
  "hex": "#478d23",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 99.623,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57604,
    "c": 0.15521,
    "h": 137.2
  },
  "luminance": 0.20511
}

Semantic roles & 50–950 ramp

primary
#478D23
secondary
#9653B9
accent
#44E3AD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478D23

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

Preview Lab → · Contrast checker → · Palette generator →

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