#476F1A#476F1A

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

Color values

HEX#476F1A
RGBrgb(71, 111, 26)
HSLhsl(88, 62%, 27%)
HSVhsv(88, 77%, 44%)
CMYKcmyk(36%, 0%, 76.6%, 56.5%)
CIE-LABlab(42.43, -28.54, 40.35)
CIE-LCHlch(42.43, 49.43, 125.27°)
OKLaboklab(49.41% -0.0806 0.0905)
OKLCHoklch(49.41% 0.121 131.7)
XYZxyz(8.4693, 12.7827, 2.9982)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F1A #421A6F
analogous
#6F6D1A #476F1A #1D6F1A
triadic
#476F1A #1A476F #6F1A47
tetradic
#476F1A #1A6F6D #421A6F #6F1A1D
square
#476F1A #1A6F6D #421A6F #6F1A1D
split-complementary
#476F1A #1A1D6F #6D1A6F
monochromatic
#101906 #273D0E #476F1A #67A126 #86CF34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476F1A#FFFFFF#000000##FFFFFF
##476F1A1.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)
#74660A
Deuteranopia (green-blind)
#6F6322
Tritanopia (blue-blind)
#486A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f1a;
/* rgb */ color: rgb(71, 111, 26);
/* oklch */ color: oklch(49.4% 0.121 131.7);
Tailwind
colors: {
  custom: {
    50: '#7e985d',
    500: '#476f1a',
    950: '#000000',
  },
}
SCSS
$custom: #476f1a;
$custom-light: #7e985d;
$custom-dark: #000000;
JSON
{
  "hex": "#476f1a",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 88.235,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49413,
    "c": 0.12119,
    "h": 131.7
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#476F1A
secondary
#6F41A4
accent
#43E58F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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