#476915#476915

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

Color values

HEX#476915
RGBrgb(71, 105, 21)
HSLhsl(84, 67%, 25%)
HSVhsv(84, 80%, 41%)
CMYKcmyk(32.4%, 0%, 80%, 58.8%)
CIE-LABlab(40.40, -25.98, 40.27)
CIE-LCHlch(40.40, 47.92, 122.83°)
OKLaboklab(47.75% -0.0741 0.0894)
OKLCHoklch(47.75% 0.116 129.6)
XYZxyz(7.7854, 11.4967, 2.5182)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476915 #371569
analogous
#696115 #476915 #1D6915
triadic
#476915 #154769 #691547
tetradic
#476915 #156961 #371569 #69151D
square
#476915 #156961 #371569 #69151D
split-complementary
#476915 #151D69 #611569
monochromatic
#111A05 #25360B #476915 #699C1F #8CCF29

Accessibility & contrast

On white

6.36
#476915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476915
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476915#FFFFFF#000000##FFFFFF
##4769151.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #476915;
/* rgb */ color: rgb(71, 105, 21);
/* oklch */ color: oklch(47.7% 0.116 129.6);
Tailwind
colors: {
  custom: {
    50: '#7e945a',
    500: '#476915',
    950: '#000000',
  },
}
SCSS
$custom: #476915;
$custom-light: #7e945a;
$custom-dark: #000000;
JSON
{
  "hex": "#476915",
  "rgb": {
    "r": 71,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 84.286,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47749,
    "c": 0.11615,
    "h": 129.6
  },
  "luminance": 0.11497
}

Semantic roles & 50–950 ramp

primary
#476915
secondary
#633AA0
accent
#3EEA84
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476915

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

Preview Lab → · Contrast checker → · Palette generator →

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