#476912#476912

#476912 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.7% C 0.118 H 129.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#476912
RGBrgb(71, 105, 18)
HSLhsl(83, 71%, 24%)
HSVhsv(83, 83%, 41%)
CMYKcmyk(32.4%, 0%, 82.9%, 58.8%)
CIE-LABlab(40.39, -26.15, 41.30)
CIE-LCHlch(40.39, 48.88, 122.34°)
OKLaboklab(47.73% -0.0748 0.0911)
OKLCHoklch(47.73% 0.118 129.4)
XYZxyz(7.7593, 11.4862, 2.3804)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476912 #341269
analogous
#696012 #476912 #1C6912
triadic
#476912 #124769 #691247
tetradic
#476912 #126960 #341269 #69121C
square
#476912 #126960 #341269 #69121C
split-complementary
#476912 #121C69 #601269
monochromatic
#121A04 #243509 #476912 #6A9D1B #8ED124

Accessibility & contrast

On white

6.37
#476912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#476912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476912
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476912#FFFFFF#000000##FFFFFF
##4769121.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#6A5E1B
Tritanopia (blue-blind)
#496459
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #476912;
/* rgb */ color: rgb(71, 105, 18);
/* oklch */ color: oklch(47.7% 0.118 129.4);
Tailwind
colors: {
  custom: {
    50: '#7e9458',
    500: '#476912',
    950: '#000000',
  },
}
SCSS
$custom: #476912;
$custom-light: #7e9458;
$custom-dark: #000000;
JSON
{
  "hex": "#476912",
  "rgb": {
    "r": 71,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 83.448,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47729,
    "c": 0.11785,
    "h": 129.4
  },
  "luminance": 0.11486
}

Semantic roles & 50–950 ramp

primary
#476912
secondary
#6036A1
accent
#3AED80
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476912

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

Preview Lab → · Contrast checker → · Palette generator →

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