#476A19#476A19

#476A19 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.0% C 0.115 H 130.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#476A19
RGBrgb(71, 106, 25)
HSLhsl(86, 62%, 26%)
HSVhsv(86, 76%, 42%)
CMYKcmyk(33%, 0%, 76.4%, 58.4%)
CIE-LABlab(40.76, -26.21, 39.09)
CIE-LCHlch(40.76, 47.07, 123.84°)
OKLaboklab(48.05% -0.0744 0.0877)
OKLCHoklch(48.05% 0.115 130.3)
XYZxyz(7.9280, 11.7176, 2.7635)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A19 #3C196A
analogous
#6A6419 #476A19 #1E6A19
triadic
#476A19 #19476A #6A1947
tetradic
#476A19 #196A64 #3C196A #6A191E
square
#476A19 #196A64 #3C196A #6A191E
split-complementary
#476A19 #191E6A #64196A
monochromatic
#111906 #26380D #476A19 #689C25 #89CD30

Accessibility & contrast

On white

6.28
#476A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#476A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A19
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A19#FFFFFF#000000##FFFFFF
##476A191.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620A
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#49655A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a19;
/* rgb */ color: rgb(71, 106, 25);
/* oklch */ color: oklch(48.0% 0.115 130.3);
Tailwind
colors: {
  custom: {
    50: '#7e955c',
    500: '#476a19',
    950: '#000000',
  },
}
SCSS
$custom: #476a19;
$custom-light: #7e955c;
$custom-dark: #000000;
JSON
{
  "hex": "#476a19",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 85.926,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4805,
    "c": 0.11496,
    "h": 130.3
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#476A19
secondary
#693FA0
accent
#43E589
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476A19

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

Preview Lab → · Contrast checker → · Palette generator →

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