#476412#476412

#476412 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.4% C 0.111 H 127.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#476412
RGBrgb(71, 100, 18)
HSLhsl(81, 69%, 23%)
HSVhsv(81, 82%, 39%)
CMYKcmyk(29%, 0%, 82%, 60.8%)
CIE-LABlab(38.72, -23.67, 39.74)
CIE-LCHlch(38.72, 46.26, 120.78°)
OKLaboklab(46.37% -0.0681 0.0878)
OKLCHoklch(46.37% 0.111 127.8)
XYZxyz(7.2649, 10.4974, 2.2156)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476412 #2F1264
analogous
#645812 #476412 #1E6412
triadic
#476412 #124764 #641247
tetradic
#476412 #126458 #2F1264 #64121E
square
#476412 #126458 #2F1264 #64121E
split-complementary
#476412 #121E64 #581264
monochromatic
#121A05 #223009 #476412 #6C981B #91CC25

Accessibility & contrast

On white

6.78
#476412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#476412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476412
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476412#FFFFFF#000000##FFFFFF
##4764121.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#655B1A
Tritanopia (blue-blind)
#4A5F55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #476412;
/* rgb */ color: rgb(71, 100, 18);
/* oklch */ color: oklch(46.4% 0.111 127.8);
Tailwind
colors: {
  custom: {
    50: '#7d9058',
    500: '#476412',
    950: '#000000',
  },
}
SCSS
$custom: #476412;
$custom-light: #7d9058;
$custom-dark: #000000;
JSON
{
  "hex": "#476412",
  "rgb": {
    "r": 71,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 81.22,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46373,
    "c": 0.11111,
    "h": 127.8
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#476412
secondary
#5A369C
accent
#3BEC7A
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #476412

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

Preview Lab → · Contrast checker → · Palette generator →

#476412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva