#476236#476236

#476236 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.3% C 0.075 H 134.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#476236
RGBrgb(71, 98, 54)
HSLhsl(97, 29%, 30%)
HSVhsv(97, 45%, 38%)
CMYKcmyk(27.6%, 0%, 44.9%, 61.6%)
CIE-LABlab(38.45, -18.98, 21.86)
CIE-LCHlch(38.45, 28.95, 130.97°)
OKLaboklab(46.28% -0.0521 0.0535)
OKLCHoklch(46.28% 0.075 134.2)
XYZxyz(7.6319, 10.3411, 5.0832)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476236 #513662
analogous
#5D6236 #476236 #36623B
triadic
#476236 #364762 #623647
tetradic
#476236 #365D62 #513662 #623B36
square
#476236 #365D62 #513662 #623B36
split-complementary
#476236 #3B3662 #62365D
monochromatic
#0E140B #2A3B20 #476236 #64894C #81AB67

Accessibility & contrast

On white

6.84
#476236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476236
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476236#FFFFFF#000000##FFFFFF
##4762361.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655C33
Deuteranopia (green-blind)
#615A39
Tritanopia (blue-blind)
#475F57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476236;
/* rgb */ color: rgb(71, 98, 54);
/* oklch */ color: oklch(46.3% 0.075 134.2);
Tailwind
colors: {
  custom: {
    50: '#7b8e6e',
    500: '#476236',
    950: '#000000',
  },
}
SCSS
$custom: #476236;
$custom-light: #7b8e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#476236",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 54
  },
  "hsl": {
    "h": 96.818,
    "s": 28.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.07466,
    "h": 134.2
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#476236
secondary
#806193
accent
#63C59F
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090C07
muted
#7B7D7A

Preview Lab

Preview with #476236

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

Preview Lab → · Contrast checker → · Palette generator →

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