#476E1A#476E1A

#476E1A is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.1% C 0.120 H 131.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#476E1A
RGBrgb(71, 110, 26)
HSLhsl(88, 62%, 27%)
HSVhsv(88, 76%, 43%)
CMYKcmyk(35.5%, 0%, 76.4%, 56.9%)
CIE-LABlab(42.10, -28.07, 40.02)
CIE-LCHlch(42.10, 48.89, 125.04°)
OKLaboklab(49.14% -0.0794 0.0898)
OKLCHoklch(49.14% 0.12 131.5)
XYZxyz(8.3608, 12.5657, 2.9620)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E1A #411A6E
analogous
#6E6B1A #476E1A #1D6E1A
triadic
#476E1A #1A476E #6E1A47
tetradic
#476E1A #1A6E6B #411A6E #6E1A1D
square
#476E1A #1A6E6B #411A6E #6E1A1D
split-complementary
#476E1A #1A1D6E #6B1A6E
monochromatic
#101906 #273D0E #476E1A #67A026 #87CF34

Accessibility & contrast

On white

5.98
#476E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#476E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476E1A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E1A#FFFFFF#000000##FFFFFF
##476E1A1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650A
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#48695E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476e1a;
/* rgb */ color: rgb(71, 110, 26);
/* oklch */ color: oklch(49.1% 0.120 131.5);
Tailwind
colors: {
  custom: {
    50: '#7e985d',
    500: '#476e1a',
    950: '#000000',
  },
}
SCSS
$custom: #476e1a;
$custom-light: #7e985d;
$custom-dark: #000000;
JSON
{
  "hex": "#476e1a",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 87.857,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49142,
    "c": 0.11982,
    "h": 131.5
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#476E1A
secondary
#6E41A3
accent
#43E58E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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