#476E2B#476E2B

#476E2B is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.3% C 0.106 H 134.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#476E2B
RGBrgb(71, 110, 43)
HSLhsl(95, 44%, 30%)
HSVhsv(95, 61%, 43%)
CMYKcmyk(35.5%, 0%, 60.9%, 56.9%)
CIE-LABlab(42.25, -26.54, 32.46)
CIE-LCHlch(42.25, 41.93, 129.27°)
OKLaboklab(49.32% -0.0737 0.0761)
OKLCHoklch(49.32% 0.106 134.1)
XYZxyz(8.6103, 12.6655, 4.2761)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E2B #522B6E
analogous
#696E2B #476E2B #2B6E30
triadic
#476E2B #2B476E #6E2B47
tetradic
#476E2B #2B696E #522B6E #6E302B
square
#476E2B #2B696E #522B6E #6E302B
split-complementary
#476E2B #302B6E #6E2B69
monochromatic
#0E1609 #2B421A #476E2B #639A3C #81BD56

Accessibility & contrast

On white

5.94
#476E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#476E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476E2B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E2B#FFFFFF#000000##FFFFFF
##476E2B1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726624
Deuteranopia (green-blind)
#6D6330
Tritanopia (blue-blind)
#476A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476e2b;
/* rgb */ color: rgb(71, 110, 43);
/* oklch */ color: oklch(49.3% 0.106 134.1);
Tailwind
colors: {
  custom: {
    50: '#7d9867',
    500: '#476e2b',
    950: '#000000',
  },
}
SCSS
$custom: #476e2b;
$custom-light: #7d9867;
$custom-dark: #000000;
JSON
{
  "hex": "#476e2b",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 43
  },
  "hsl": {
    "h": 94.925,
    "s": 43.791,
    "l": 30
  },
  "oklch": {
    "l": 0.49316,
    "c": 0.10595,
    "h": 134.1
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#476E2B
secondary
#8155A0
accent
#54D49E
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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