#478127#478127

#478127 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.137 H 136.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#478127
RGBrgb(71, 129, 39)
HSLhsl(99, 54%, 33%)
HSVhsv(99, 70%, 51%)
CMYKcmyk(45%, 0%, 69.8%, 49.4%)
CIE-LABlab(48.49, -35.70, 41.21)
CIE-LCHlch(48.49, 54.52, 130.91°)
OKLaboklab(54.4% -0.099 0.0942)
OKLCHoklch(54.4% 0.137 136.4)
XYZxyz(10.8147, 17.1859, 4.6664)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478127 #612781
analogous
#748127 #478127 #278134
triadic
#478127 #274781 #812747
tetradic
#478127 #277481 #612781 #813427
square
#478127 #277481 #612781 #813427
split-complementary
#478127 #342781 #812774
monochromatic
#13230B #2D5219 #478127 #61B035 #80CC56

Accessibility & contrast

On white

4.73
#478127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#478127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478127
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478127#FFFFFF#000000##FFFFFF
##4781271.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86761A
Deuteranopia (green-blind)
#7E712F
Tritanopia (blue-blind)
#447C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #478127;
/* rgb */ color: rgb(71, 129, 39);
/* oklch */ color: oklch(54.4% 0.137 136.4);
Tailwind
colors: {
  custom: {
    50: '#7fa666',
    500: '#478127',
    950: '#000000',
  },
}
SCSS
$custom: #478127;
$custom-light: #7fa666;
$custom-dark: #000000;
JSON
{
  "hex": "#478127",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 98.667,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.544,
    "c": 0.13668,
    "h": 136.4
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#478127
secondary
#8F53B1
accent
#4BDDA9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #478127

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

Preview Lab → · Contrast checker → · Palette generator →

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