#478117#478117

#478117 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.147 H 134.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#478117
RGBrgb(71, 129, 23)
HSLhsl(93, 70%, 30%)
HSVhsv(93, 82%, 51%)
CMYKcmyk(45%, 0%, 82.2%, 49.4%)
CIE-LABlab(48.39, -36.84, 47.10)
CIE-LCHlch(48.39, 59.80, 128.03°)
OKLaboklab(54.28% -0.1032 0.1041)
OKLCHoklch(54.28% 0.147 134.8)
XYZxyz(10.6032, 17.1014, 3.5526)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478117 #511781
analogous
#7C8117 #478117 #17811C
triadic
#478117 #174781 #811747
tetradic
#478117 #177C81 #511781 #811C17
square
#478117 #177C81 #511781 #811C17
split-complementary
#478117 #1C1781 #81177C
monochromatic
#0E1A05 #2A4D0E #478117 #64B520 #81DB37

Accessibility & contrast

On white

4.75
#478117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#478117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478117
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478117#FFFFFF#000000##FFFFFF
##4781171.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#467C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #478117;
/* rgb */ color: rgb(71, 129, 23);
/* oklch */ color: oklch(54.3% 0.147 134.8);
Tailwind
colors: {
  custom: {
    50: '#80a65e',
    500: '#478117',
    950: '#000000',
  },
}
SCSS
$custom: #478117;
$custom-light: #80a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#478117",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 92.83,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54279,
    "c": 0.14663,
    "h": 134.8
  },
  "luminance": 0.17102
}

Semantic roles & 50–950 ramp

primary
#478117
secondary
#803EB5
accent
#3BED9C
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478117

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

Preview Lab → · Contrast checker → · Palette generator →

#478117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva