#476712#476712

#476712 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.2% C 0.115 H 128.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#476712
RGBrgb(71, 103, 18)
HSLhsl(83, 70%, 24%)
HSVhsv(83, 83%, 40%)
CMYKcmyk(31.1%, 0%, 82.5%, 59.6%)
CIE-LABlab(39.72, -25.17, 40.68)
CIE-LCHlch(39.72, 47.83, 121.74°)
OKLaboklab(47.19% -0.0721 0.0898)
OKLCHoklch(47.19% 0.115 128.8)
XYZxyz(7.5580, 11.0836, 2.3133)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476712 #321267
analogous
#675C12 #476712 #1C6712
triadic
#476712 #124767 #671247
tetradic
#476712 #12675C #321267 #67121C
square
#476712 #12675C #321267 #67121C
split-complementary
#476712 #121C67 #5C1267
monochromatic
#121A05 #233309 #476712 #6B9B1B #8FCF24

Accessibility & contrast

On white

6.53
#476712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#476712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476712
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476712#FFFFFF#000000##FFFFFF
##4767121.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#4A6257
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #476712;
/* rgb */ color: rgb(71, 103, 18);
/* oklch */ color: oklch(47.2% 0.115 128.8);
Tailwind
colors: {
  custom: {
    50: '#7e9258',
    500: '#476712',
    950: '#000000',
  },
}
SCSS
$custom: #476712;
$custom-light: #7e9258;
$custom-dark: #000000;
JSON
{
  "hex": "#476712",
  "rgb": {
    "r": 71,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 82.588,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47187,
    "c": 0.11517,
    "h": 128.8
  },
  "luminance": 0.11084
}

Semantic roles & 50–950 ramp

primary
#476712
secondary
#5D369F
accent
#3BED7E
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476712

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

Preview Lab → · Contrast checker → · Palette generator →

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