#476A1F#476A1F

#476A1F is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.1% C 0.111 H 131.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#476A1F
RGBrgb(71, 106, 31)
HSLhsl(88, 55%, 27%)
HSVhsv(88, 71%, 42%)
CMYKcmyk(33%, 0%, 70.8%, 58.4%)
CIE-LABlab(40.81, -25.75, 36.60)
CIE-LCHlch(40.81, 44.75, 125.12°)
OKLaboklab(48.1% -0.0726 0.0834)
OKLCHoklch(48.1% 0.111 131.1)
XYZxyz(7.9998, 11.7463, 3.1418)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A1F #421F6A
analogous
#6A681F #476A1F #226A1F
triadic
#476A1F #1F476A #6A1F47
tetradic
#476A1F #1F6A68 #421F6A #6A1F22
square
#476A1F #1F6A68 #421F6A #6A1F22
split-complementary
#476A1F #1F226A #681F6A
monochromatic
#101807 #273B11 #476A1F #67992D #86C63D

Accessibility & contrast

On white

6.27
#476A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#476A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A1F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A1F#FFFFFF#000000##FFFFFF
##476A1F1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#6A5F25
Tritanopia (blue-blind)
#48655B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a1f;
/* rgb */ color: rgb(71, 106, 31);
/* oklch */ color: oklch(48.1% 0.111 131.1);
Tailwind
colors: {
  custom: {
    50: '#7d955f',
    500: '#476a1f',
    950: '#000000',
  },
}
SCSS
$custom: #476a1f;
$custom-light: #7d955f;
$custom-dark: #000000;
JSON
{
  "hex": "#476a1f",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 88,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.11056,
    "h": 131.1
  },
  "luminance": 0.11747
}

Semantic roles & 50–950 ramp

primary
#476A1F
secondary
#6F479E
accent
#4ADE8F
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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