#478B14#478B14

#478B14 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.0% C 0.160 H 135.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#478B14
RGBrgb(71, 139, 20)
HSLhsl(94, 75%, 31%)
HSVhsv(94, 86%, 55%)
CMYKcmyk(48.9%, 0%, 85.6%, 45.5%)
CIE-LABlab(51.67, -41.16, 50.95)
CIE-LCHlch(51.67, 65.50, 128.93°)
OKLaboklab(56.97% -0.115 0.1118)
OKLCHoklch(56.97% 0.16 135.8)
XYZxyz(11.9571, 19.8545, 3.8639)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B14 #58148B
analogous
#828B14 #478B14 #148B1C
triadic
#478B14 #14478B #8B1447
tetradic
#478B14 #14828B #58148B #8B1C14
square
#478B14 #14828B #58148B #8B1C14
split-complementary
#478B14 #1C148B #8B1482
monochromatic
#102005 #2C550C #478B14 #62C11C #80E237

Accessibility & contrast

On white

4.22
#478B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#478B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478B14
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478B14#FFFFFF#000000##000000
##478B141.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#448576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478b14;
/* rgb */ color: rgb(71, 139, 20);
/* oklch */ color: oklch(57.0% 0.160 135.8);
Tailwind
colors: {
  custom: {
    50: '#82ad5f',
    500: '#478b14',
    950: '#000000',
  },
}
SCSS
$custom: #478b14;
$custom-light: #82ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478b14",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 20
  },
  "hsl": {
    "h": 94.286,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56973,
    "c": 0.16037,
    "h": 135.8
  },
  "luminance": 0.19855
}

Semantic roles & 50–950 ramp

primary
#478B14
secondary
#873CBF
accent
#36F1A1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478B14

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

Preview Lab → · Contrast checker → · Palette generator →

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