#476313#476313

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

Color values

HEX#476313
RGBrgb(71, 99, 19)
HSLhsl(81, 68%, 23%)
HSVhsv(81, 81%, 39%)
CMYKcmyk(28.3%, 0%, 80.8%, 61.2%)
CIE-LABlab(38.39, -23.11, 39.08)
CIE-LCHlch(38.39, 45.40, 120.60°)
OKLaboklab(46.11% -0.0665 0.0866)
OKLCHoklch(46.11% 0.109 127.5)
XYZxyz(7.1779, 10.3101, 2.2278)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476313 #2F1363
analogous
#635713 #476313 #1F6313
triadic
#476313 #134763 #631347
tetradic
#476313 #136357 #2F1363 #63131F
square
#476313 #136357 #2F1363 #63131F
split-complementary
#476313 #131F63 #571363
monochromatic
#121A05 #223009 #476313 #6C961D #91CA27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476313#FFFFFF#000000##FFFFFF
##4763131.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)
#685C02
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#4A5E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476313;
/* rgb */ color: rgb(71, 99, 19);
/* oklch */ color: oklch(46.1% 0.109 127.5);
Tailwind
colors: {
  custom: {
    50: '#7d8f58',
    500: '#476313',
    950: '#000000',
  },
}
SCSS
$custom: #476313;
$custom-light: #7d8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#476313",
  "rgb": {
    "r": 71,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 81,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.10916,
    "h": 127.5
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#476313
secondary
#5A379B
accent
#3DEB7A
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476313

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

Preview Lab → · Contrast checker → · Palette generator →

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