#476312#476312

#476312 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.1% C 0.110 H 127.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#476312
RGBrgb(71, 99, 18)
HSLhsl(81, 69%, 23%)
HSVhsv(81, 82%, 39%)
CMYKcmyk(28.3%, 0%, 81.8%, 61.2%)
CIE-LABlab(38.39, -23.17, 39.43)
CIE-LCHlch(38.39, 45.73, 120.43°)
OKLaboklab(46.1% -0.0667 0.0872)
OKLCHoklch(46.1% 0.11 127.4)
XYZxyz(7.1696, 10.3068, 2.1838)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476312 #2E1263
analogous
#635612 #476312 #1E6312
triadic
#476312 #124763 #631247
tetradic
#476312 #126356 #2E1263 #63121E
square
#476312 #126356 #2E1263 #63121E
split-complementary
#476312 #121E63 #561263
monochromatic
#131A05 #222F09 #476312 #6C971B #91CB25

Accessibility & contrast

On white

6.86
#476312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#476312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476312
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476312#FFFFFF#000000##FFFFFF
##4763121.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C00
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#4A5E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476312;
/* rgb */ color: rgb(71, 99, 18);
/* oklch */ color: oklch(46.1% 0.110 127.4);
Tailwind
colors: {
  custom: {
    50: '#7d8f57',
    500: '#476312',
    950: '#000000',
  },
}
SCSS
$custom: #476312;
$custom-light: #7d8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#476312",
  "rgb": {
    "r": 71,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 80.741,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.10976,
    "h": 127.4
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#476312
secondary
#59369B
accent
#3CEC79
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #476312

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

Preview Lab → · Contrast checker → · Palette generator →

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