#476E1B#476E1B

#476E1B is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.1% C 0.119 H 131.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#476E1B
RGBrgb(71, 110, 27)
HSLhsl(88, 61%, 27%)
HSVhsv(88, 75%, 43%)
CMYKcmyk(35.5%, 0%, 75.5%, 56.9%)
CIE-LABlab(42.11, -28.00, 39.63)
CIE-LCHlch(42.11, 48.53, 125.24°)
OKLaboklab(49.15% -0.0791 0.0891)
OKLCHoklch(49.15% 0.119 131.6)
XYZxyz(8.3722, 12.5703, 3.0219)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E1B #421B6E
analogous
#6E6C1B #476E1B #1D6E1B
triadic
#476E1B #1B476E #6E1B47
tetradic
#476E1B #1B6E6C #421B6E #6E1B1D
square
#476E1B #1B6E6C #421B6E #6E1B1D
split-complementary
#476E1B #1B1D6E #6C1B6E
monochromatic
#101906 #273D0F #476E1B #679F27 #86CE36

Accessibility & contrast

On white

5.98
#476E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#476E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476E1B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E1B#FFFFFF#000000##FFFFFF
##476E1B1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650C
Deuteranopia (green-blind)
#6E6223
Tritanopia (blue-blind)
#48695E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476e1b;
/* rgb */ color: rgb(71, 110, 27);
/* oklch */ color: oklch(49.1% 0.119 131.6);
Tailwind
colors: {
  custom: {
    50: '#7e985d',
    500: '#476e1b',
    950: '#000000',
  },
}
SCSS
$custom: #476e1b;
$custom-light: #7e985d;
$custom-dark: #000000;
JSON
{
  "hex": "#476e1b",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 88.193,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4915,
    "c": 0.11915,
    "h": 131.6
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#476E1B
secondary
#6F42A3
accent
#44E48F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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