#476418#476418

#476418 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.4% C 0.107 H 128.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#476418
RGBrgb(71, 100, 24)
HSLhsl(83, 61%, 24%)
HSVhsv(83, 76%, 39%)
CMYKcmyk(29%, 0%, 76%, 60.8%)
CIE-LABlab(38.76, -23.30, 37.50)
CIE-LCHlch(38.76, 44.15, 121.85°)
OKLaboklab(46.42% -0.0665 0.0842)
OKLCHoklch(46.42% 0.107 128.3)
XYZxyz(7.3206, 10.5197, 2.5088)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476418 #351864
analogous
#645B18 #476418 #216418
triadic
#476418 #184764 #641847
tetradic
#476418 #18645B #351864 #641821
square
#476418 #18645B #351864 #641821
split-complementary
#476418 #182164 #5B1864
monochromatic
#121906 #24330C #476418 #6A9524 #8DC730

Accessibility & contrast

On white

6.77
#476418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#476418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476418
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476418#FFFFFF#000000##FFFFFF
##4764181.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0B
Deuteranopia (green-blind)
#655B1F
Tritanopia (blue-blind)
#4A5F55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #476418;
/* rgb */ color: rgb(71, 100, 24);
/* oklch */ color: oklch(46.4% 0.107 128.3);
Tailwind
colors: {
  custom: {
    50: '#7d905a',
    500: '#476418',
    950: '#000000',
  },
}
SCSS
$custom: #476418;
$custom-light: #7d905a;
$custom-dark: #000000;
JSON
{
  "hex": "#476418",
  "rgb": {
    "r": 71,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 82.895,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46417,
    "c": 0.10729,
    "h": 128.3
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#476418
secondary
#613E9A
accent
#43E481
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476418

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

Preview Lab → · Contrast checker → · Palette generator →

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