#476E1C#476E1C

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

Color values

HEX#476E1C
RGBrgb(71, 110, 28)
HSLhsl(89, 59%, 27%)
HSVhsv(89, 75%, 43%)
CMYKcmyk(35.5%, 0%, 74.5%, 56.9%)
CIE-LABlab(42.12, -27.93, 39.24)
CIE-LCHlch(42.12, 48.16, 125.44°)
OKLaboklab(49.16% -0.0788 0.0884)
OKLCHoklch(49.16% 0.118 131.7)
XYZxyz(8.3840, 12.5750, 3.0839)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E1C #431C6E
analogous
#6E6C1C #476E1C #1E6E1C
triadic
#476E1C #1C476E #6E1C47
tetradic
#476E1C #1C6E6C #431C6E #6E1C1E
square
#476E1C #1C6E6C #431C6E #6E1C1E
split-complementary
#476E1C #1C1E6E #6C1C6E
monochromatic
#101806 #283D10 #476E1C #669F28 #86CC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476E1C#FFFFFF#000000##FFFFFF
##476E1C1.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)
#73650E
Deuteranopia (green-blind)
#6E6223
Tritanopia (blue-blind)
#48695E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476e1c;
/* rgb */ color: rgb(71, 110, 28);
/* oklch */ color: oklch(49.2% 0.118 131.7);
Tailwind
colors: {
  custom: {
    50: '#7e985e',
    500: '#476e1c',
    950: '#000000',
  },
}
SCSS
$custom: #476e1c;
$custom-light: #7e985e;
$custom-dark: #000000;
JSON
{
  "hex": "#476e1c",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 28
  },
  "hsl": {
    "h": 88.537,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49158,
    "c": 0.11846,
    "h": 131.7
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#476E1C
secondary
#7143A3
accent
#45E390
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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