#476331#476331

#476331 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.5% C 0.082 H 132.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#476331
RGBrgb(71, 99, 49)
HSLhsl(94, 34%, 29%)
HSVhsv(94, 51%, 39%)
CMYKcmyk(28.3%, 0%, 50.5%, 61.2%)
CIE-LABlab(38.70, -20.23, 25.02)
CIE-LCHlch(38.70, 32.17, 128.95°)
OKLaboklab(46.46% -0.0558 0.0603)
OKLCHoklch(46.46% 0.082 132.8)
XYZxyz(7.6146, 10.4848, 4.5277)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476331 #4D3163
analogous
#606331 #476331 #316334
triadic
#476331 #314763 #633147
tetradic
#476331 #316063 #4D3163 #633431
square
#476331 #316063 #4D3163 #633431
split-complementary
#476331 #343163 #633160
monochromatic
#0F140A #2A3A1D #476331 #648C45 #82B05F

Accessibility & contrast

On white

6.78
#476331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#476331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476331
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476331#FFFFFF#000000##FFFFFF
##4763311.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675D2D
Deuteranopia (green-blind)
#635A34
Tritanopia (blue-blind)
#486057
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #476331;
/* rgb */ color: rgb(71, 99, 49);
/* oklch */ color: oklch(46.5% 0.082 132.8);
Tailwind
colors: {
  custom: {
    50: '#7c8f6a',
    500: '#476331',
    950: '#000000',
  },
}
SCSS
$custom: #476331;
$custom-light: #7c8f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#476331",
  "rgb": {
    "r": 71,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 93.6,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.08221,
    "h": 132.8
  },
  "luminance": 0.10485
}

Semantic roles & 50–950 ramp

primary
#476331
secondary
#7B5C94
accent
#5ECA9A
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #476331

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

Preview Lab → · Contrast checker → · Palette generator →

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