#476F22#476F22

#476F22 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.5% C 0.115 H 132.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#476F22
RGBrgb(71, 111, 34)
HSLhsl(91, 53%, 28%)
HSVhsv(91, 69%, 44%)
CMYKcmyk(36%, 0%, 69.4%, 56.5%)
CIE-LABlab(42.50, -27.92, 37.04)
CIE-LCHlch(42.50, 46.38, 127.00°)
OKLaboklab(49.48% -0.0783 0.0847)
OKLCHoklch(49.48% 0.115 132.7)
XYZxyz(8.5716, 12.8236, 3.5366)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F22 #4A226F
analogous
#6D6F22 #476F22 #226F24
triadic
#476F22 #22476F #6F2247
tetradic
#476F22 #226D6F #4A226F #6F2422
square
#476F22 #226D6F #4A226F #6F2422
split-complementary
#476F22 #24226F #6F226D
monochromatic
#0F1707 #294014 #476F22 #659E30 #83C645

Accessibility & contrast

On white

5.89
#476F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#476F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476F22
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F22#FFFFFF#000000##FFFFFF
##476F221.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746618
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#486A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f22;
/* rgb */ color: rgb(71, 111, 34);
/* oklch */ color: oklch(49.5% 0.115 132.7);
Tailwind
colors: {
  custom: {
    50: '#7d9861',
    500: '#476f22',
    950: '#000000',
  },
}
SCSS
$custom: #476f22;
$custom-light: #7d9861;
$custom-dark: #000000;
JSON
{
  "hex": "#476f22",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 91.169,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49484,
    "c": 0.11536,
    "h": 132.7
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#476F22
secondary
#784AA2
accent
#4BDD97
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #476F22

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

Preview Lab → · Contrast checker → · Palette generator →

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