#477612#477612

#477612 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.135 H 132.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#477612
RGBrgb(71, 118, 18)
HSLhsl(88, 74%, 27%)
HSVhsv(88, 85%, 46%)
CMYKcmyk(39.8%, 0%, 84.7%, 53.7%)
CIE-LABlab(44.72, -32.25, 45.26)
CIE-LCHlch(44.72, 55.57, 125.47°)
OKLaboklab(51.26% -0.0912 0.0994)
OKLCHoklch(51.26% 0.135 132.5)
XYZxyz(9.1860, 14.3397, 2.8560)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477612 #411276
analogous
#767312 #477612 #157612
triadic
#477612 #124776 #761247
tetradic
#477612 #127673 #411276 #761215
square
#477612 #127673 #411276 #761215
split-complementary
#477612 #121576 #731276
monochromatic
#101B04 #27410A #477612 #67AB1A #87DE25

Accessibility & contrast

On white

5.43
#477612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#477612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477612
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477612#FFFFFF#000000##FFFFFF
##4776121.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#75681E
Tritanopia (blue-blind)
#487164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #477612;
/* rgb */ color: rgb(71, 118, 18);
/* oklch */ color: oklch(51.3% 0.135 132.5);
Tailwind
colors: {
  custom: {
    50: '#7f9e5a',
    500: '#477612',
    950: '#000000',
  },
}
SCSS
$custom: #477612;
$custom-light: #7f9e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#477612",
  "rgb": {
    "r": 71,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 88.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51263,
    "c": 0.13496,
    "h": 132.5
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

primary
#477612
secondary
#6E37AD
accent
#38F08E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477612

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

Preview Lab → · Contrast checker → · Palette generator →

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