#476819#476819

#476819 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.5% C 0.112 H 129.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#476819
RGBrgb(71, 104, 25)
HSLhsl(85, 61%, 25%)
HSVhsv(85, 76%, 41%)
CMYKcmyk(31.7%, 0%, 76%, 59.2%)
CIE-LABlab(40.10, -25.23, 38.43)
CIE-LCHlch(40.10, 45.97, 123.28°)
OKLaboklab(47.51% -0.0717 0.0863)
OKLCHoklch(47.51% 0.112 129.7)
XYZxyz(7.7243, 11.3102, 2.6956)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476819 #3A1968
analogous
#686119 #476819 #206819
triadic
#476819 #194768 #681947
tetradic
#476819 #196861 #3A1968 #681920
square
#476819 #196861 #3A1968 #681920
split-complementary
#476819 #192068 #611968
monochromatic
#111906 #25370D #476819 #699925 #8ACB31

Accessibility & contrast

On white

6.44
#476819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#476819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476819
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476819#FFFFFF#000000##FFFFFF
##4768191.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600B
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#496359
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #476819;
/* rgb */ color: rgb(71, 104, 25);
/* oklch */ color: oklch(47.5% 0.112 129.7);
Tailwind
colors: {
  custom: {
    50: '#7d935c',
    500: '#476819',
    950: '#000000',
  },
}
SCSS
$custom: #476819;
$custom-light: #7d935c;
$custom-dark: #000000;
JSON
{
  "hex": "#476819",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 85.063,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47508,
    "c": 0.11219,
    "h": 129.7
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#476819
secondary
#673F9E
accent
#43E487
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476819

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

Preview Lab → · Contrast checker → · Palette generator →

#476819 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva