#476018#476018

#476018 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.3% C 0.102 H 126.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#476018
RGBrgb(71, 96, 24)
HSLhsl(81, 60%, 24%)
HSVhsv(81, 75%, 38%)
CMYKcmyk(26%, 0%, 75%, 62.4%)
CIE-LABlab(37.43, -21.25, 36.17)
CIE-LCHlch(37.43, 41.95, 120.44°)
OKLaboklab(45.34% -0.0609 0.0814)
OKLCHoklch(45.34% 0.102 126.8)
XYZxyz(6.9463, 9.7712, 2.3840)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476018 #311860
analogous
#605518 #476018 #236018
triadic
#476018 #184760 #601847
tetradic
#476018 #186055 #311860 #601823
square
#476018 #186055 #311860 #601823
split-complementary
#476018 #182360 #551860
monochromatic
#121806 #232F0C #476018 #6B9124 #8FC230

Accessibility & contrast

On white

7.11
#476018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#476018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #476018
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476018#FFFFFF#000000##FFFFFF
##4760181.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#4A5B52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #476018;
/* rgb */ color: rgb(71, 96, 24);
/* oklch */ color: oklch(45.3% 0.102 126.8);
Tailwind
colors: {
  custom: {
    50: '#7d8d5a',
    500: '#476018',
    950: '#000000',
  },
}
SCSS
$custom: #476018;
$custom-light: #7d8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#476018",
  "rgb": {
    "r": 71,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 80.833,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45337,
    "c": 0.10165,
    "h": 126.8
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#476018
secondary
#5C3D96
accent
#45E37C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476018

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

Preview Lab → · Contrast checker → · Palette generator →

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