#476F1F#476F1F

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

Color values

HEX#476F1F
RGBrgb(71, 111, 31)
HSLhsl(90, 56%, 28%)
HSVhsv(90, 72%, 44%)
CMYKcmyk(36%, 0%, 72.1%, 56.5%)
CIE-LABlab(42.47, -28.17, 38.34)
CIE-LCHlch(42.47, 47.58, 126.31°)
OKLaboklab(49.46% -0.0792 0.087)
OKLCHoklch(49.46% 0.118 132.3)
XYZxyz(8.5302, 12.8071, 3.3186)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F1F #471F6F
analogous
#6F6F1F #476F1F #1F6F1F
triadic
#476F1F #1F476F #6F1F47
tetradic
#476F1F #1F6F6F #471F6F #6F1F1F
square
#476F1F #1F6F6F #471F6F #6F1F1F
split-complementary
#476F1F #1F1F6F #6F1F6F
monochromatic
#0F1807 #283F12 #476F1F #669F2C #84C93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476F1F#FFFFFF#000000##FFFFFF
##476F1F1.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)
#746613
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#486A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f1f;
/* rgb */ color: rgb(71, 111, 31);
/* oklch */ color: oklch(49.5% 0.118 132.3);
Tailwind
colors: {
  custom: {
    50: '#7e9860',
    500: '#476f1f',
    950: '#000000',
  },
}
SCSS
$custom: #476f1f;
$custom-light: #7e9860;
$custom-dark: #000000;
JSON
{
  "hex": "#476f1f",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 90,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49455,
    "c": 0.11768,
    "h": 132.3
  },
  "luminance": 0.12807
}

Semantic roles & 50–950 ramp

primary
#476F1F
secondary
#7547A3
accent
#48E094
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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