#476F1B#476F1B

#476F1B is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.121 H 131.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#476F1B
RGBrgb(71, 111, 27)
HSLhsl(89, 61%, 27%)
HSVhsv(89, 76%, 44%)
CMYKcmyk(36%, 0%, 75.7%, 56.5%)
CIE-LABlab(42.44, -28.47, 39.97)
CIE-LCHlch(42.44, 49.07, 125.47°)
OKLaboklab(49.42% -0.0804 0.0898)
OKLCHoklch(49.42% 0.121 131.8)
XYZxyz(8.4807, 12.7873, 3.0581)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F1B #431B6F
analogous
#6F6D1B #476F1B #1D6F1B
triadic
#476F1B #1B476F #6F1B47
tetradic
#476F1B #1B6F6D #431B6F #6F1B1D
square
#476F1B #1B6F6D #431B6F #6F1B1D
split-complementary
#476F1B #1B1D6F #6D1B6F
monochromatic
#101906 #283E0F #476F1B #66A027 #86CE36

Accessibility & contrast

On white

5.90
#476F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#476F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476F1B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F1B#FFFFFF#000000##FFFFFF
##476F1B1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660C
Deuteranopia (green-blind)
#6F6323
Tritanopia (blue-blind)
#486A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f1b;
/* rgb */ color: rgb(71, 111, 27);
/* oklch */ color: oklch(49.4% 0.121 131.8);
Tailwind
colors: {
  custom: {
    50: '#7e985d',
    500: '#476f1b',
    950: '#000000',
  },
}
SCSS
$custom: #476f1b;
$custom-light: #7e985d;
$custom-dark: #000000;
JSON
{
  "hex": "#476f1b",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 88.571,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49421,
    "c": 0.12053,
    "h": 131.8
  },
  "luminance": 0.12788
}

Semantic roles & 50–950 ramp

primary
#476F1B
secondary
#7142A4
accent
#44E490
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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