#476A23#476A23

#476A23 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.1% C 0.107 H 131.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#476A23
RGBrgb(71, 106, 35)
HSLhsl(90, 50%, 28%)
HSVhsv(90, 67%, 42%)
CMYKcmyk(33%, 0%, 67%, 58.4%)
CIE-LABlab(40.85, -25.40, 34.80)
CIE-LCHlch(40.85, 43.08, 126.12°)
OKLaboklab(48.14% -0.0713 0.0802)
OKLCHoklch(48.14% 0.107 131.6)
XYZxyz(8.0558, 11.7687, 3.4369)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A23 #46236A
analogous
#6A6923 #476A23 #246A23
triadic
#476A23 #23476A #6A2347
tetradic
#476A23 #236A69 #46236A #6A2324
square
#476A23 #236A69 #46236A #6A2324
split-complementary
#476A23 #23246A #69236A
monochromatic
#0F1708 #283C14 #476A23 #669832 #85C246

Accessibility & contrast

On white

6.26
#476A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#476A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A23
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A23#FFFFFF#000000##FFFFFF
##476A231.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F621A
Deuteranopia (green-blind)
#6A5F29
Tritanopia (blue-blind)
#48665B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a23;
/* rgb */ color: rgb(71, 106, 35);
/* oklch */ color: oklch(48.1% 0.107 131.6);
Tailwind
colors: {
  custom: {
    50: '#7d9561',
    500: '#476a23',
    950: '#000000',
  },
}
SCSS
$custom: #476a23;
$custom-light: #7d9561;
$custom-dark: #000000;
JSON
{
  "hex": "#476a23",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 35
  },
  "hsl": {
    "h": 89.577,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48143,
    "c": 0.10726,
    "h": 131.6
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#476A23
secondary
#744B9D
accent
#4EDA93
background
#F7F9F5
surface
#EEF1EA
border
#C9CBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476A23

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

Preview Lab → · Contrast checker → · Palette generator →

#476A23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva