#476121#476121

#476121 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.7% C 0.096 H 128.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#476121
RGBrgb(71, 97, 33)
HSLhsl(84, 49%, 25%)
HSVhsv(84, 66%, 38%)
CMYKcmyk(26.8%, 0%, 66%, 62%)
CIE-LABlab(37.84, -21.02, 32.48)
CIE-LCHlch(37.84, 38.69, 122.92°)
OKLaboklab(45.7% -0.0594 0.075)
OKLCHoklch(45.7% 0.096 128.4)
XYZxyz(7.1477, 9.9986, 2.9919)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476121 #3B2161
analogous
#615B21 #476121 #276121
triadic
#476121 #214761 #612147
tetradic
#476121 #21615B #3B2161 #612127
square
#476121 #21615B #3B2161 #612127
split-complementary
#476121 #212761 #5B2161
monochromatic
#111708 #263311 #476121 #688F31 #8ABC40

Accessibility & contrast

On white

7.00
#476121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#476121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476121
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476121#FFFFFF#000000##FFFFFF
##4761211.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A19
Deuteranopia (green-blind)
#625926
Tritanopia (blue-blind)
#495D53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #476121;
/* rgb */ color: rgb(71, 97, 33);
/* oklch */ color: oklch(45.7% 0.096 128.4);
Tailwind
colors: {
  custom: {
    50: '#7c8e5f',
    500: '#476121',
    950: '#000000',
  },
}
SCSS
$custom: #476121;
$custom-light: #7c8e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#476121",
  "rgb": {
    "r": 71,
    "g": 97,
    "b": 33
  },
  "hsl": {
    "h": 84.375,
    "s": 49.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45696,
    "c": 0.09566,
    "h": 128.4
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#476121
secondary
#684995
accent
#4FD987
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #476121

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

Preview Lab → · Contrast checker → · Palette generator →

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