#476F1E#476F1E

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

Color values

HEX#476F1E
RGBrgb(71, 111, 30)
HSLhsl(90, 57%, 28%)
HSVhsv(90, 73%, 44%)
CMYKcmyk(36%, 0%, 73%, 56.5%)
CIE-LABlab(42.46, -28.25, 38.76)
CIE-LCHlch(42.46, 47.96, 126.09°)
OKLaboklab(49.45% -0.0795 0.0878)
OKLCHoklch(49.45% 0.118 132.2)
XYZxyz(8.5172, 12.8019, 3.2503)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F1E #461E6F
analogous
#6F6F1E #476F1E #1E6F1E
triadic
#476F1E #1E476F #6F1E47
tetradic
#476F1E #1E6F6F #461E6F #6F1E1E
square
#476F1E #1E6F6F #461E6F #6F1E1E
split-complementary
#476F1E #1E1E6F #6F1E6F
monochromatic
#0F1807 #283F11 #476F1E #669F2B #85CB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476F1E#FFFFFF#000000##FFFFFF
##476F1E1.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)
#746611
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#486A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f1e;
/* rgb */ color: rgb(71, 111, 30);
/* oklch */ color: oklch(49.4% 0.118 132.2);
Tailwind
colors: {
  custom: {
    50: '#7e985f',
    500: '#476f1e',
    950: '#000000',
  },
}
SCSS
$custom: #476f1e;
$custom-light: #7e985f;
$custom-dark: #000000;
JSON
{
  "hex": "#476f1e",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 89.63,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49446,
    "c": 0.11842,
    "h": 132.2
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#476F1E
secondary
#7446A3
accent
#47E193
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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