#478F19#478F19

#478F19 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.1% C 0.163 H 136.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#478F19
RGBrgb(71, 143, 25)
HSLhsl(97, 70%, 33%)
HSVhsv(97, 83%, 56%)
CMYKcmyk(50.3%, 0%, 82.5%, 43.9%)
CIE-LABlab(53.01, -42.53, 50.77)
CIE-LCHlch(53.01, 66.23, 129.95°)
OKLaboklab(58.08% -0.1184 0.1121)
OKLCHoklch(58.08% 0.163 136.6)
XYZxyz(12.5961, 21.0538, 4.3196)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F19 #61198F
analogous
#828F19 #478F19 #198F26
triadic
#478F19 #19478F #8F1947
tetradic
#478F19 #19828F #61198F #8F2619
square
#478F19 #19828F #61198F #8F2619
split-complementary
#478F19 #26198F #8F1982
monochromatic
#132707 #2D5B10 #478F19 #61C322 #80DE44

Accessibility & contrast

On white

4.03
#478F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#478F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478F19
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478F19#FFFFFF#000000##000000
##478F191.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C27
Tritanopia (blue-blind)
#438A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #478f19;
/* rgb */ color: rgb(71, 143, 25);
/* oklch */ color: oklch(58.1% 0.163 136.6);
Tailwind
colors: {
  custom: {
    50: '#82b061',
    500: '#478f19',
    950: '#000000',
  },
}
SCSS
$custom: #478f19;
$custom-light: #82b061;
$custom-dark: #000000;
JSON
{
  "hex": "#478f19",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 96.61,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58079,
    "c": 0.16308,
    "h": 136.6
  },
  "luminance": 0.21055
}

Semantic roles & 50–950 ramp

primary
#478F19
secondary
#8F44BF
accent
#3BEDA8
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478F19

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

Preview Lab → · Contrast checker → · Palette generator →

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