#476239#476239

#476239 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.3% C 0.071 H 135.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#476239
RGBrgb(71, 98, 57)
HSLhsl(100, 26%, 30%)
HSVhsv(100, 42%, 38%)
CMYKcmyk(27.6%, 0%, 41.8%, 61.6%)
CIE-LABlab(38.50, -18.52, 20.18)
CIE-LCHlch(38.50, 27.39, 132.53°)
OKLaboklab(46.34% -0.0507 0.0498)
OKLCHoklch(46.34% 0.071 135.5)
XYZxyz(7.7045, 10.3701, 5.4658)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476239 #543962
analogous
#5B6239 #476239 #39623F
triadic
#476239 #394762 #623947
tetradic
#476239 #395B62 #543962 #623F39
square
#476239 #395B62 #543962 #623F39
split-complementary
#476239 #3F3962 #62395B
monochromatic
#0F150C #2B3B22 #476239 #638950 #81A96C

Accessibility & contrast

On white

6.83
#476239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476239
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476239#FFFFFF#000000##FFFFFF
##4762391.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655C36
Deuteranopia (green-blind)
#615A3B
Tritanopia (blue-blind)
#475F58
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #476239;
/* rgb */ color: rgb(71, 98, 57);
/* oklch */ color: oklch(46.3% 0.071 135.5);
Tailwind
colors: {
  custom: {
    50: '#7b8e70',
    500: '#476239',
    950: '#000000',
  },
}
SCSS
$custom: #476239;
$custom-light: #7b8e70;
$custom-dark: #000000;
JSON
{
  "hex": "#476239",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 57
  },
  "hsl": {
    "h": 99.512,
    "s": 26.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.46336,
    "c": 0.07102,
    "h": 135.5
  },
  "luminance": 0.1037
}

Semantic roles & 50–950 ramp

primary
#476239
secondary
#836592
accent
#65C3A3
background
#F7F8F6
surface
#EEF0EC
border
#C9CBC7
text
#090C07
muted
#7B7D7A

Preview Lab

Preview with #476239

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

Preview Lab → · Contrast checker → · Palette generator →

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