#478F14#478F14

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

Color values

HEX#478F14
RGBrgb(71, 143, 20)
HSLhsl(95, 75%, 32%)
HSVhsv(95, 86%, 56%)
CMYKcmyk(50.3%, 0%, 86%, 43.9%)
CIE-LABlab(52.99, -42.77, 52.12)
CIE-LCHlch(52.99, 67.43, 129.37°)
OKLaboklab(58.06% -0.1193 0.1142)
OKLCHoklch(58.06% 0.165 136.3)
XYZxyz(12.5469, 21.0342, 4.0605)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F14 #5C148F
analogous
#858F14 #478F14 #148F1F
triadic
#478F14 #14478F #8F1447
tetradic
#478F14 #14858F #5C148F #8F1F14
square
#478F14 #14858F #5C148F #8F1F14
split-complementary
#478F14 #1F148F #8F1485
monochromatic
#122405 #2C590C #478F14 #62C51C #80E33A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478F14#FFFFFF#000000##000000
##478F141.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)
#8B7C24
Tritanopia (blue-blind)
#438979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478f14;
/* rgb */ color: rgb(71, 143, 20);
/* oklch */ color: oklch(58.1% 0.165 136.3);
Tailwind
colors: {
  custom: {
    50: '#82b05f',
    500: '#478f14',
    950: '#000000',
  },
}
SCSS
$custom: #478f14;
$custom-light: #82b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#478f14",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 95.122,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.16519,
    "h": 136.3
  },
  "luminance": 0.21035
}

Semantic roles & 50–950 ramp

primary
#478F14
secondary
#8B3CC3
accent
#36F2A4
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478F14

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

Preview Lab → · Contrast checker → · Palette generator →

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