#478E19#478E19

#478E19 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.8% C 0.162 H 136.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#478E19
RGBrgb(71, 142, 25)
HSLhsl(96, 70%, 33%)
HSVhsv(96, 82%, 56%)
CMYKcmyk(50%, 0%, 82.4%, 44.3%)
CIE-LABlab(52.68, -42.13, 50.47)
CIE-LCHlch(52.68, 65.74, 129.85°)
OKLaboklab(57.81% -0.1173 0.1115)
OKLCHoklch(57.81% 0.162 136.5)
XYZxyz(12.4467, 20.7549, 4.2698)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E19 #60198E
analogous
#828E19 #478E19 #198E25
triadic
#478E19 #19478E #8E1947
tetradic
#478E19 #19828E #60198E #8E2519
square
#478E19 #19828E #60198E #8E2519
split-complementary
#478E19 #25198E #8E1982
monochromatic
#132607 #2D5A10 #478E19 #61C222 #80DE43

Accessibility & contrast

On white

4.08
#478E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#478E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E19
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E19#FFFFFF#000000##000000
##478E191.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#438979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e19;
/* rgb */ color: rgb(71, 142, 25);
/* oklch */ color: oklch(57.8% 0.162 136.5);
Tailwind
colors: {
  custom: {
    50: '#82b061',
    500: '#478e19',
    950: '#000000',
  },
}
SCSS
$custom: #478e19;
$custom-light: #82b061;
$custom-dark: #000000;
JSON
{
  "hex": "#478e19",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 96.41,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.16185,
    "h": 136.5
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #478E19

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

Preview Lab → · Contrast checker → · Palette generator →

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