#476215#476215

#476215 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.9% C 0.107 H 127.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#476215
RGBrgb(71, 98, 21)
HSLhsl(81, 65%, 23%)
HSVhsv(81, 79%, 38%)
CMYKcmyk(27.6%, 0%, 78.6%, 61.6%)
CIE-LABlab(38.07, -22.48, 38.02)
CIE-LCHlch(38.07, 44.17, 120.59°)
OKLaboklab(45.85% -0.0646 0.0847)
OKLCHoklch(45.85% 0.107 127.3)
XYZxyz(7.1016, 10.1290, 2.2903)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476215 #301562
analogous
#625615 #476215 #206215
triadic
#476215 #154762 #621547
tetradic
#476215 #156256 #301562 #621520
square
#476215 #156256 #301562 #621520
split-complementary
#476215 #152062 #561562
monochromatic
#121905 #22300A #476215 #6C9420 #90C72B

Accessibility & contrast

On white

6.94
#476215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#476215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476215
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476215#FFFFFF#000000##FFFFFF
##4762151.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B06
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#4A5D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476215;
/* rgb */ color: rgb(71, 98, 21);
/* oklch */ color: oklch(45.9% 0.107 127.3);
Tailwind
colors: {
  custom: {
    50: '#7d8e59',
    500: '#476215',
    950: '#000000',
  },
}
SCSS
$custom: #476215;
$custom-light: #7d8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#476215",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 81.039,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.10654,
    "h": 127.3
  },
  "luminance": 0.10129
}

Semantic roles & 50–950 ramp

primary
#476215
secondary
#5B3A99
accent
#40E87B
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476215

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

Preview Lab → · Contrast checker → · Palette generator →

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