#478617#478617

#478617 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.6% C 0.153 H 135.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#478617
RGBrgb(71, 134, 23)
HSLhsl(94, 71%, 31%)
HSVhsv(94, 83%, 53%)
CMYKcmyk(47%, 0%, 82.8%, 47.5%)
CIE-LABlab(50.04, -38.95, 48.63)
CIE-LCHlch(50.04, 62.31, 128.69°)
OKLaboklab(55.63% -0.1089 0.1073)
OKLCHoklch(55.63% 0.153 135.4)
XYZxyz(11.2780, 18.4509, 3.7776)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478617 #561786
analogous
#7E8617 #478617 #17861E
triadic
#478617 #174786 #861747
tetradic
#478617 #177E86 #561786 #861E17
square
#478617 #177E86 #561786 #861E17
split-complementary
#478617 #1E1786 #86177E
monochromatic
#101E05 #2B520E #478617 #63BA20 #81DD3A

Accessibility & contrast

On white

4.48
#478617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#478617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478617
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478617#FFFFFF#000000##000000
##4786171.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#458172
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #478617;
/* rgb */ color: rgb(71, 134, 23);
/* oklch */ color: oklch(55.6% 0.153 135.4);
Tailwind
colors: {
  custom: {
    50: '#81aa5f',
    500: '#478617',
    950: '#000000',
  },
}
SCSS
$custom: #478617;
$custom-light: #81aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478617",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 94.054,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55634,
    "c": 0.15292,
    "h": 135.4
  },
  "luminance": 0.18452
}

Semantic roles & 50–950 ramp

primary
#478617
secondary
#853FBA
accent
#3AEDA0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478617

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

Preview Lab → · Contrast checker → · Palette generator →

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