#476115#476115

#476115 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.6% C 0.105 H 126.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#476115
RGBrgb(71, 97, 21)
HSLhsl(81, 64%, 23%)
HSVhsv(81, 78%, 38%)
CMYKcmyk(26.8%, 0%, 78.4%, 62%)
CIE-LABlab(37.74, -21.97, 37.70)
CIE-LCHlch(37.74, 43.63, 120.23°)
OKLaboklab(45.58% -0.0632 0.0841)
OKLCHoklch(45.58% 0.105 126.9)
XYZxyz(7.0086, 9.9430, 2.2593)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476115 #2F1561
analogous
#615515 #476115 #216115
triadic
#476115 #154761 #611547
tetradic
#476115 #156155 #2F1561 #611521
square
#476115 #156155 #2F1561 #611521
split-complementary
#476115 #152161 #551561
monochromatic
#121905 #222F0A #476115 #6C9320 #91C62B

Accessibility & contrast

On white

7.03
#476115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#476115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #476115
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476115#FFFFFF#000000##FFFFFF
##4761151.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A06
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#4A5C52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #476115;
/* rgb */ color: rgb(71, 97, 21);
/* oklch */ color: oklch(45.6% 0.105 126.9);
Tailwind
colors: {
  custom: {
    50: '#7d8e59',
    500: '#476115',
    950: '#000000',
  },
}
SCSS
$custom: #476115;
$custom-light: #7d8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#476115",
  "rgb": {
    "r": 71,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 80.526,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.10515,
    "h": 126.9
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#476115
secondary
#5A3A98
accent
#40E77A
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476115

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

Preview Lab → · Contrast checker → · Palette generator →

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