#476C23#476C23

#476C23 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.7% C 0.110 H 132.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#476C23
RGBrgb(71, 108, 35)
HSLhsl(90, 51%, 28%)
HSVhsv(90, 68%, 42%)
CMYKcmyk(34.3%, 0%, 67.6%, 57.6%)
CIE-LABlab(41.51, -26.38, 35.52)
CIE-LCHlch(41.51, 44.25, 126.59°)
OKLaboklab(48.68% -0.074 0.0817)
OKLCHoklch(48.68% 0.11 132.2)
XYZxyz(8.2644, 12.1858, 3.5064)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476C23 #48236C
analogous
#6B6C23 #476C23 #236C23
triadic
#476C23 #23476C #6C2347
tetradic
#476C23 #236B6C #48236C #6C2323
square
#476C23 #236B6C #48236C #6C2323
split-complementary
#476C23 #23236C #6C236B
monochromatic
#0F1707 #293E14 #476C23 #659A32 #84C346

Accessibility & contrast

On white

6.11
#476C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#476C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476C23
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476C23#FFFFFF#000000##FFFFFF
##476C231.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71641A
Deuteranopia (green-blind)
#6B6129
Tritanopia (blue-blind)
#48685D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #476c23;
/* rgb */ color: rgb(71, 108, 35);
/* oklch */ color: oklch(48.7% 0.110 132.2);
Tailwind
colors: {
  custom: {
    50: '#7d9662',
    500: '#476c23',
    950: '#000000',
  },
}
SCSS
$custom: #476c23;
$custom-light: #7d9662;
$custom-dark: #000000;
JSON
{
  "hex": "#476c23",
  "rgb": {
    "r": 71,
    "g": 108,
    "b": 35
  },
  "hsl": {
    "h": 90.411,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.11019,
    "h": 132.2
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#476C23
secondary
#764B9F
accent
#4DDB95
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476C23

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

Preview Lab → · Contrast checker → · Palette generator →

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