#478F15#478F15

#478F15 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#478F15
RGBrgb(71, 143, 21)
HSLhsl(95, 74%, 32%)
HSVhsv(95, 85%, 56%)
CMYKcmyk(50.3%, 0%, 85.3%, 43.9%)
CIE-LABlab(52.99, -42.73, 51.87)
CIE-LCHlch(52.99, 67.20, 129.48°)
OKLaboklab(58.06% -0.1192 0.1138)
OKLCHoklch(58.06% 0.165 136.3)
XYZxyz(12.5560, 21.0378, 4.1084)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F15 #5D158F
analogous
#848F15 #478F15 #158F20
triadic
#478F15 #15478F #8F1547
tetradic
#478F15 #15848F #5D158F #8F2015
square
#478F15 #15848F #5D158F #8F2015
split-complementary
#478F15 #20158F #8F1584
monochromatic
#122405 #2D5A0D #478F15 #61C41D #80E23C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #478f15;
/* rgb */ color: rgb(71, 143, 21);
/* oklch */ color: oklch(58.1% 0.165 136.3);
Tailwind
colors: {
  custom: {
    50: '#82b060',
    500: '#478f15',
    950: '#000000',
  },
}
SCSS
$custom: #478f15;
$custom-light: #82b060;
$custom-dark: #000000;
JSON
{
  "hex": "#478f15",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 95.41,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.1648,
    "h": 136.3
  },
  "luminance": 0.21039
}

Semantic roles & 50–950 ramp

primary
#478F15
secondary
#8C3EC2
accent
#37F1A5
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478F15

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

Preview Lab → · Contrast checker → · Palette generator →

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