#476F19#476F19

#476F19 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.122 H 131.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#476F19
RGBrgb(71, 111, 25)
HSLhsl(88, 63%, 27%)
HSVhsv(88, 77%, 44%)
CMYKcmyk(36%, 0%, 77.5%, 56.5%)
CIE-LABlab(42.43, -28.61, 40.73)
CIE-LCHlch(42.43, 49.78, 125.08°)
OKLaboklab(49.41% -0.0809 0.0911)
OKLCHoklch(49.41% 0.122 131.6)
XYZxyz(8.4584, 12.7783, 2.9403)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F19 #41196F
analogous
#6F6C19 #476F19 #1C6F19
triadic
#476F19 #19476F #6F1947
tetradic
#476F19 #196F6C #41196F #6F191C
square
#476F19 #196F6C #41196F #6F191C
split-complementary
#476F19 #191C6F #6C196F
monochromatic
#101906 #273D0E #476F19 #67A124 #87D132

Accessibility & contrast

On white

5.91
#476F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476F19
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F19#FFFFFF#000000##FFFFFF
##476F191.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746608
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#486A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f19;
/* rgb */ color: rgb(71, 111, 25);
/* oklch */ color: oklch(49.4% 0.122 131.6);
Tailwind
colors: {
  custom: {
    50: '#7e985c',
    500: '#476f19',
    950: '#000000',
  },
}
SCSS
$custom: #476f19;
$custom-light: #7e985c;
$custom-dark: #000000;
JSON
{
  "hex": "#476f19",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 87.907,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49405,
    "c": 0.12184,
    "h": 131.6
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#476F19
secondary
#6E3FA4
accent
#42E68E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476F19

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

Preview Lab → · Contrast checker → · Palette generator →

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