#476124#476124

#476124 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.7% C 0.093 H 128.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#476124
RGBrgb(71, 97, 36)
HSLhsl(86, 46%, 26%)
HSVhsv(86, 63%, 38%)
CMYKcmyk(26.8%, 0%, 62.9%, 62%)
CIE-LABlab(37.87, -20.73, 31.01)
CIE-LCHlch(37.87, 37.30, 123.75°)
OKLaboklab(45.73% -0.0583 0.0722)
OKLCHoklch(45.73% 0.093 128.9)
XYZxyz(7.1916, 10.0162, 3.2231)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476124 #3E2461
analogous
#615C24 #476124 #286124
triadic
#476124 #244761 #612447
tetradic
#476124 #24615C #3E2461 #612428
square
#476124 #24615C #3E2461 #612428
split-complementary
#476124 #242861 #5C2461
monochromatic
#101608 #263413 #476124 #688E35 #88BA45

Accessibility & contrast

On white

6.99
#476124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#476124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476124
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476124#FFFFFF#000000##FFFFFF
##4761241.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A1D
Deuteranopia (green-blind)
#625928
Tritanopia (blue-blind)
#495D54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #476124;
/* rgb */ color: rgb(71, 97, 36);
/* oklch */ color: oklch(45.7% 0.093 128.9);
Tailwind
colors: {
  custom: {
    50: '#7c8e61',
    500: '#476124',
    950: '#000000',
  },
}
SCSS
$custom: #476124;
$custom-light: #7c8e61;
$custom-dark: #000000;
JSON
{
  "hex": "#476124",
  "rgb": {
    "r": 71,
    "g": 97,
    "b": 36
  },
  "hsl": {
    "h": 85.574,
    "s": 45.865,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45732,
    "c": 0.09283,
    "h": 128.9
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#476124
secondary
#6B4C94
accent
#52D68A
background
#F7F8F5
surface
#EEF0EA
border
#C9CBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #476124

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

Preview Lab → · Contrast checker → · Palette generator →

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