#476232#476232

#476232 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.2% C 0.079 H 132.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#476232
RGBrgb(71, 98, 50)
HSLhsl(94, 32%, 29%)
HSVhsv(94, 49%, 38%)
CMYKcmyk(27.6%, 0%, 49%, 61.6%)
CIE-LABlab(38.38, -19.56, 24.07)
CIE-LCHlch(38.38, 31.01, 129.10°)
OKLaboklab(46.21% -0.0539 0.0583)
OKLCHoklch(46.21% 0.079 132.8)
XYZxyz(7.5418, 10.3050, 4.6087)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476232 #4D3262
analogous
#5F6232 #476232 #326235
triadic
#476232 #324762 #623247
tetradic
#476232 #325F62 #4D3262 #623532
square
#476232 #325F62 #4D3262 #623532
split-complementary
#476232 #353262 #62325F
monochromatic
#0F140A #2A391D #476232 #648B47 #82AE60

Accessibility & contrast

On white

6.86
#476232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#476232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476232
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476232#FFFFFF#000000##FFFFFF
##4762321.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C2E
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#485F57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476232;
/* rgb */ color: rgb(71, 98, 50);
/* oklch */ color: oklch(46.2% 0.079 132.8);
Tailwind
colors: {
  custom: {
    50: '#7b8e6b',
    500: '#476232',
    950: '#000000',
  },
}
SCSS
$custom: #476232;
$custom-light: #7b8e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#476232",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 50
  },
  "hsl": {
    "h": 93.75,
    "s": 32.432,
    "l": 29.02
  },
  "oklch": {
    "l": 0.46206,
    "c": 0.07939,
    "h": 132.8
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#476232
secondary
#7B5D93
accent
#5FC99A
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #476232

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

Preview Lab → · Contrast checker → · Palette generator →

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