#476F1C#476F1C

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

Color values

HEX#476F1C
RGBrgb(71, 111, 28)
HSLhsl(89, 60%, 27%)
HSVhsv(89, 75%, 44%)
CMYKcmyk(36%, 0%, 74.8%, 56.5%)
CIE-LABlab(42.45, -28.40, 39.57)
CIE-LCHlch(42.45, 48.71, 125.67°)
OKLaboklab(49.43% -0.0801 0.0891)
OKLCHoklch(49.43% 0.12 131.9)
XYZxyz(8.4925, 12.7920, 3.1200)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F1C #441C6F
analogous
#6F6E1C #476F1C #1D6F1C
triadic
#476F1C #1C476F #6F1C47
tetradic
#476F1C #1C6F6E #441C6F #6F1C1D
square
#476F1C #1C6F6E #441C6F #6F1C1D
split-complementary
#476F1C #1C1D6F #6E1C6F
monochromatic
#101806 #283E10 #476F1C #66A028 #85CD38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476F1C#FFFFFF#000000##FFFFFF
##476F1C1.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)
#74660E
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#486A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f1c;
/* rgb */ color: rgb(71, 111, 28);
/* oklch */ color: oklch(49.4% 0.120 131.9);
Tailwind
colors: {
  custom: {
    50: '#7e985e',
    500: '#476f1c',
    950: '#000000',
  },
}
SCSS
$custom: #476f1c;
$custom-light: #7e985e;
$custom-dark: #000000;
JSON
{
  "hex": "#476f1c",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 88.916,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49429,
    "c": 0.11984,
    "h": 131.9
  },
  "luminance": 0.12792
}

Semantic roles & 50–950 ramp

primary
#476F1C
secondary
#7243A4
accent
#45E391
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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