#476213#476213

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

Color values

HEX#476213
RGBrgb(71, 98, 19)
HSLhsl(81, 68%, 23%)
HSVhsv(81, 81%, 38%)
CMYKcmyk(27.6%, 0%, 80.6%, 61.6%)
CIE-LABlab(38.06, -22.60, 38.76)
CIE-LCHlch(38.06, 44.87, 120.25°)
OKLaboklab(45.84% -0.0651 0.0859)
OKLCHoklch(45.84% 0.108 127.1)
XYZxyz(7.0838, 10.1218, 2.1965)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476213 #2E1362
analogous
#625513 #476213 #206213
triadic
#476213 #134762 #621347
tetradic
#476213 #136255 #2E1362 #621320
square
#476213 #136255 #2E1362 #621320
split-complementary
#476213 #132062 #551362
monochromatic
#131A05 #222F09 #476213 #6C951D #91C927

Accessibility & contrast

On white

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

On black

3.02
#476213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##476213#FFFFFF#000000##FFFFFF
##4762131.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #476213;
/* rgb */ color: rgb(71, 98, 19);
/* oklch */ color: oklch(45.8% 0.108 127.1);
Tailwind
colors: {
  custom: {
    50: '#7d8e58',
    500: '#476213',
    950: '#000000',
  },
}
SCSS
$custom: #476213;
$custom-light: #7d8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#476213",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 80.506,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45839,
    "c": 0.1078,
    "h": 127.1
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#476213
secondary
#59379A
accent
#3DEA79
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #476213

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

Preview Lab → · Contrast checker → · Palette generator →

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