#478D1B#478D1B

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

Color values

HEX#478D1B
RGBrgb(71, 141, 27)
HSLhsl(97, 68%, 33%)
HSVhsv(97, 81%, 55%)
CMYKcmyk(49.6%, 0%, 80.9%, 44.7%)
CIE-LABlab(52.36, -41.61, 49.56)
CIE-LCHlch(52.36, 64.71, 130.02°)
OKLaboklab(57.55% -0.1158 0.1099)
OKLCHoklch(57.55% 0.16 136.5)
XYZxyz(12.3209, 20.4676, 4.3381)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D1B #611B8D
analogous
#808D1B #478D1B #1B8D28
triadic
#478D1B #1B478D #8D1B47
tetradic
#478D1B #1B808D #611B8D #8D281B
square
#478D1B #1B808D #611B8D #8D281B
split-complementary
#478D1B #281B8D #8D1B80
monochromatic
#132607 #2D5A11 #478D1B #61C025 #80DC47

Accessibility & contrast

On white

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

On black

5.09
#478D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D1B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D1B#FFFFFF#000000##000000
##478D1B1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#438878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d1b;
/* rgb */ color: rgb(71, 141, 27);
/* oklch */ color: oklch(57.6% 0.160 136.5);
Tailwind
colors: {
  custom: {
    50: '#82af62',
    500: '#478d1b',
    950: '#000000',
  },
}
SCSS
$custom: #478d1b;
$custom-light: #82af62;
$custom-dark: #000000;
JSON
{
  "hex": "#478d1b",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 96.842,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57551,
    "c": 0.15966,
    "h": 136.5
  },
  "luminance": 0.20468
}

Semantic roles & 50–950 ramp

primary
#478D1B
secondary
#8F46BD
accent
#3DEBA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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