#476218#476218

#476218 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.9% C 0.104 H 127.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#476218
RGBrgb(71, 98, 24)
HSLhsl(82, 61%, 24%)
HSVhsv(82, 76%, 38%)
CMYKcmyk(27.6%, 0%, 75.5%, 61.6%)
CIE-LABlab(38.09, -22.28, 36.84)
CIE-LCHlch(38.09, 43.05, 121.17°)
OKLaboklab(45.88% -0.0638 0.0828)
OKLCHoklch(45.88% 0.104 127.6)
XYZxyz(7.1311, 10.1408, 2.4456)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476218 #331862
analogous
#625818 #476218 #226218
triadic
#476218 #184762 #621847
tetradic
#476218 #186258 #331862 #621822
square
#476218 #186258 #331862 #621822
split-complementary
#476218 #182262 #581862
monochromatic
#121906 #23310C #476218 #6B9324 #8EC430

Accessibility & contrast

On white

6.93
#476218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#476218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476218
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476218#FFFFFF#000000##FFFFFF
##4762181.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0B
Deuteranopia (green-blind)
#64591F
Tritanopia (blue-blind)
#4A5D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476218;
/* rgb */ color: rgb(71, 98, 24);
/* oklch */ color: oklch(45.9% 0.104 127.6);
Tailwind
colors: {
  custom: {
    50: '#7d8e5a',
    500: '#476218',
    950: '#000000',
  },
}
SCSS
$custom: #476218;
$custom-light: #7d8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#476218",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 81.892,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45877,
    "c": 0.10448,
    "h": 127.6
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#476218
secondary
#5F3E98
accent
#44E47E
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476218

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

Preview Lab → · Contrast checker → · Palette generator →

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