#476512#476512

#476512 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.6% C 0.112 H 128.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#476512
RGBrgb(71, 101, 18)
HSLhsl(82, 70%, 23%)
HSVhsv(82, 82%, 40%)
CMYKcmyk(29.7%, 0%, 82.2%, 60.4%)
CIE-LABlab(39.05, -24.17, 40.06)
CIE-LCHlch(39.05, 46.78, 121.11°)
OKLaboklab(46.64% -0.0694 0.0885)
OKLCHoklch(46.64% 0.112 128.1)
XYZxyz(7.3614, 10.6904, 2.2478)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476512 #301265
analogous
#655912 #476512 #1D6512
triadic
#476512 #124765 #651247
tetradic
#476512 #126559 #301265 #65121D
square
#476512 #126559 #301265 #65121D
split-complementary
#476512 #121D65 #591265
monochromatic
#121A05 #223109 #476512 #6C991B #90CD25

Accessibility & contrast

On white

6.69
#476512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#476512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476512
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476512#FFFFFF#000000##FFFFFF
##4765121.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#4A6056
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #476512;
/* rgb */ color: rgb(71, 101, 18);
/* oklch */ color: oklch(46.6% 0.112 128.1);
Tailwind
colors: {
  custom: {
    50: '#7d9158',
    500: '#476512',
    950: '#000000',
  },
}
SCSS
$custom: #476512;
$custom-light: #7d9158;
$custom-dark: #000000;
JSON
{
  "hex": "#476512",
  "rgb": {
    "r": 71,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 81.687,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.11247,
    "h": 128.1
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#476512
secondary
#5B369D
accent
#3BED7B
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476512

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

Preview Lab → · Contrast checker → · Palette generator →

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