#476318#476318

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

Color values

HEX#476318
RGBrgb(71, 99, 24)
HSLhsl(82, 61%, 24%)
HSVhsv(82, 76%, 39%)
CMYKcmyk(28.3%, 0%, 75.8%, 61.2%)
CIE-LABlab(38.43, -22.79, 37.17)
CIE-LCHlch(38.43, 43.60, 121.52°)
OKLaboklab(46.15% -0.0652 0.0835)
OKLCHoklch(46.15% 0.106 128)
XYZxyz(7.2252, 10.3291, 2.4770)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476318 #341863
analogous
#635A18 #476318 #226318
triadic
#476318 #184763 #631847
tetradic
#476318 #18635A #341863 #631822
square
#476318 #18635A #341863 #631822
split-complementary
#476318 #182263 #5A1863
monochromatic
#121906 #24320C #476318 #6A9424 #8EC630

Accessibility & contrast

On white

6.85
#476318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#476318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476318
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476318#FFFFFF#000000##FFFFFF
##4763181.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0B
Deuteranopia (green-blind)
#645A1F
Tritanopia (blue-blind)
#4A5E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476318;
/* rgb */ color: rgb(71, 99, 24);
/* oklch */ color: oklch(46.1% 0.106 128.0);
Tailwind
colors: {
  custom: {
    50: '#7d8f5a',
    500: '#476318',
    950: '#000000',
  },
}
SCSS
$custom: #476318;
$custom-light: #7d8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#476318",
  "rgb": {
    "r": 71,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 82.4,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46147,
    "c": 0.10588,
    "h": 128
  },
  "luminance": 0.10329
}

Semantic roles & 50–950 ramp

primary
#476318
secondary
#603E99
accent
#44E480
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476318

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

Preview Lab → · Contrast checker → · Palette generator →

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