#476C2B#476C2B

#476C2B is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.8% C 0.103 H 133.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#476C2B
RGBrgb(71, 108, 43)
HSLhsl(94, 43%, 30%)
HSVhsv(94, 60%, 42%)
CMYKcmyk(34.3%, 0%, 60.2%, 57.6%)
CIE-LABlab(41.59, -25.56, 31.70)
CIE-LCHlch(41.59, 40.72, 128.88°)
OKLaboklab(48.78% -0.071 0.0745)
OKLCHoklch(48.78% 0.103 133.6)
XYZxyz(8.3970, 12.2388, 4.2049)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476C2B #502B6C
analogous
#686C2B #476C2B #2B6C30
triadic
#476C2B #2B476C #6C2B47
tetradic
#476C2B #2B686C #502B6C #6C302B
square
#476C2B #2B686C #502B6C #6C302B
split-complementary
#476C2B #302B6C #6C2B68
monochromatic
#0E1609 #2A401A #476C2B #64983C #82BC56

Accessibility & contrast

On white

6.09
#476C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#476C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476C2B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476C2B#FFFFFF#000000##FFFFFF
##476C2B1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706424
Deuteranopia (green-blind)
#6B6130
Tritanopia (blue-blind)
#47685E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #476c2b;
/* rgb */ color: rgb(71, 108, 43);
/* oklch */ color: oklch(48.8% 0.103 133.6);
Tailwind
colors: {
  custom: {
    50: '#7d9667',
    500: '#476c2b',
    950: '#000000',
  },
}
SCSS
$custom: #476c2b;
$custom-light: #7d9667;
$custom-dark: #000000;
JSON
{
  "hex": "#476c2b",
  "rgb": {
    "r": 71,
    "g": 108,
    "b": 43
  },
  "hsl": {
    "h": 94.154,
    "s": 43.046,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48778,
    "c": 0.1029,
    "h": 133.6
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#476C2B
secondary
#7E559E
accent
#55D39D
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476C2B

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

Preview Lab → · Contrast checker → · Palette generator →

#476C2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva