#478129#478129

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

Color values

HEX#478129
RGBrgb(71, 129, 41)
HSLhsl(100, 52%, 33%)
HSVhsv(100, 68%, 51%)
CMYKcmyk(45%, 0%, 68.2%, 49.4%)
CIE-LABlab(48.51, -35.52, 40.35)
CIE-LCHlch(48.51, 53.76, 131.36°)
OKLaboklab(54.42% -0.0984 0.0927)
OKLCHoklch(54.42% 0.135 136.7)
XYZxyz(10.8487, 17.1996, 4.8456)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478129 #632981
analogous
#738129 #478129 #298137
triadic
#478129 #294781 #812947
tetradic
#478129 #297381 #632981 #813729
square
#478129 #297381 #632981 #813729
split-complementary
#478129 #372981 #812973
monochromatic
#14240B #2D531A #478129 #61AF38 #80CB5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478129#FFFFFF#000000##FFFFFF
##4781291.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)
#85761D
Deuteranopia (green-blind)
#7E7131
Tritanopia (blue-blind)
#447C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #478129;
/* rgb */ color: rgb(71, 129, 41);
/* oklch */ color: oklch(54.4% 0.135 136.7);
Tailwind
colors: {
  custom: {
    50: '#7fa667',
    500: '#478129',
    950: '#000000',
  },
}
SCSS
$custom: #478129;
$custom-light: #7fa667;
$custom-dark: #000000;
JSON
{
  "hex": "#478129",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 99.545,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54419,
    "c": 0.13516,
    "h": 136.7
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

primary
#478129
secondary
#9156B0
accent
#4DDBAB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #478129

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

Preview Lab → · Contrast checker → · Palette generator →

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