#477512#477512

#477512 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.0% C 0.134 H 132.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#477512
RGBrgb(71, 117, 18)
HSLhsl(88, 73%, 26%)
HSVhsv(88, 85%, 46%)
CMYKcmyk(39.3%, 0%, 84.6%, 54.1%)
CIE-LABlab(44.38, -31.80, 44.96)
CIE-LCHlch(44.38, 55.07, 125.27°)
OKLaboklab(50.99% -0.09 0.0988)
OKLCHoklch(50.99% 0.134 132.3)
XYZxyz(9.0689, 14.1054, 2.8169)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477512 #401275
analogous
#757212 #477512 #167512
triadic
#477512 #124775 #751247
tetradic
#477512 #127572 #401275 #751216
square
#477512 #127572 #401275 #751216
split-complementary
#477512 #121675 #721275
monochromatic
#101B04 #27400A #477512 #67AA1A #87DD24

Accessibility & contrast

On white

5.50
#477512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#477512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477512
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477512#FFFFFF#000000##FFFFFF
##4775121.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#487063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #477512;
/* rgb */ color: rgb(71, 117, 18);
/* oklch */ color: oklch(51.0% 0.134 132.3);
Tailwind
colors: {
  custom: {
    50: '#7f9d5a',
    500: '#477512',
    950: '#000000',
  },
}
SCSS
$custom: #477512;
$custom-light: #7f9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#477512",
  "rgb": {
    "r": 71,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 87.879,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50991,
    "c": 0.13367,
    "h": 132.3
  },
  "luminance": 0.14106
}

Semantic roles & 50–950 ramp

primary
#477512
secondary
#6D37AC
accent
#38F08D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477512

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

Preview Lab → · Contrast checker → · Palette generator →

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