#476E1F#476E1F

#476E1F is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.2% C 0.116 H 132.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#476E1F
RGBrgb(71, 110, 31)
HSLhsl(90, 56%, 28%)
HSVhsv(90, 72%, 43%)
CMYKcmyk(35.5%, 0%, 71.8%, 56.9%)
CIE-LABlab(42.14, -27.69, 37.99)
CIE-LCHlch(42.14, 47.01, 126.09°)
OKLaboklab(49.18% -0.0779 0.0863)
OKLCHoklch(49.18% 0.116 132.1)
XYZxyz(8.4217, 12.5901, 3.2825)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E1F #461F6E
analogous
#6E6D1F #476E1F #206E1F
triadic
#476E1F #1F476E #6E1F47
tetradic
#476E1F #1F6E6D #461F6E #6E1F20
square
#476E1F #1F6E6D #461F6E #6E1F20
split-complementary
#476E1F #1F206E #6D1F6E
monochromatic
#0F1807 #283E12 #476E1F #669E2C #85C93F

Accessibility & contrast

On white

5.97
#476E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#476E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476E1F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E1F#FFFFFF#000000##FFFFFF
##476E1F1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736513
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#48695E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476e1f;
/* rgb */ color: rgb(71, 110, 31);
/* oklch */ color: oklch(49.2% 0.116 132.1);
Tailwind
colors: {
  custom: {
    50: '#7e9860',
    500: '#476e1f',
    950: '#000000',
  },
}
SCSS
$custom: #476e1f;
$custom-light: #7e9860;
$custom-dark: #000000;
JSON
{
  "hex": "#476e1f",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 89.62,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.11627,
    "h": 132.1
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#476E1F
secondary
#7447A2
accent
#48DF93
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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