#476237#476237

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

Color values

HEX#476237
RGBrgb(71, 98, 55)
HSLhsl(98, 28%, 30%)
HSVhsv(98, 44%, 38%)
CMYKcmyk(27.6%, 0%, 43.9%, 61.6%)
CIE-LABlab(38.46, -18.83, 21.30)
CIE-LCHlch(38.46, 28.43, 131.47°)
OKLaboklab(46.3% -0.0516 0.0523)
OKLCHoklch(46.3% 0.073 134.6)
XYZxyz(7.6556, 10.3506, 5.2082)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476237 #523762
analogous
#5D6237 #476237 #37623C
triadic
#476237 #374762 #623747
tetradic
#476237 #375D62 #523762 #623C37
square
#476237 #375D62 #523762 #623C37
split-complementary
#476237 #3C3762 #62375D
monochromatic
#0E140B #2B3B21 #476237 #63894D #81AB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476237#FFFFFF#000000##FFFFFF
##4762371.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)
#655C34
Deuteranopia (green-blind)
#615A39
Tritanopia (blue-blind)
#475F57
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #476237;
/* rgb */ color: rgb(71, 98, 55);
/* oklch */ color: oklch(46.3% 0.073 134.6);
Tailwind
colors: {
  custom: {
    50: '#7b8e6e',
    500: '#476237',
    950: '#000000',
  },
}
SCSS
$custom: #476237;
$custom-light: #7b8e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#476237",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 55
  },
  "hsl": {
    "h": 97.674,
    "s": 28.105,
    "l": 30
  },
  "oklch": {
    "l": 0.46297,
    "c": 0.07346,
    "h": 134.6
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#476237
secondary
#816292
accent
#63C4A0
background
#F7F8F6
surface
#EEF0EC
border
#C9CBC7
text
#090C07
muted
#7B7D7A

Preview Lab

Preview with #476237

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

Preview Lab → · Contrast checker → · Palette generator →

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