#476F1D#476F1D

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

Color values

HEX#476F1D
RGBrgb(71, 111, 29)
HSLhsl(89, 59%, 27%)
HSVhsv(89, 74%, 44%)
CMYKcmyk(36%, 0%, 73.9%, 56.5%)
CIE-LABlab(42.46, -28.33, 39.17)
CIE-LCHlch(42.46, 48.34, 125.88°)
OKLaboklab(49.44% -0.0798 0.0885)
OKLCHoklch(49.44% 0.119 132.1)
XYZxyz(8.5046, 12.7968, 3.1841)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F1D #451D6F
analogous
#6F6E1D #476F1D #1E6F1D
triadic
#476F1D #1D476F #6F1D47
tetradic
#476F1D #1D6F6E #451D6F #6F1D1E
square
#476F1D #1D6F6E #451D6F #6F1D1E
split-complementary
#476F1D #1D1E6F #6E1D6F
monochromatic
#101806 #283E10 #476F1D #66A02A #85CC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476F1D#FFFFFF#000000##FFFFFF
##476F1D1.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)
#746610
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#486A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f1d;
/* rgb */ color: rgb(71, 111, 29);
/* oklch */ color: oklch(49.4% 0.119 132.1);
Tailwind
colors: {
  custom: {
    50: '#7e985f',
    500: '#476f1d',
    950: '#000000',
  },
}
SCSS
$custom: #476f1d;
$custom-light: #7e985f;
$custom-dark: #000000;
JSON
{
  "hex": "#476f1d",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 89.268,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.11913,
    "h": 132.1
  },
  "luminance": 0.12797
}

Semantic roles & 50–950 ramp

primary
#476F1D
secondary
#7344A3
accent
#46E292
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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