#476214#476214

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

Color values

HEX#476214
RGBrgb(71, 98, 20)
HSLhsl(81, 66%, 23%)
HSVhsv(81, 80%, 38%)
CMYKcmyk(27.6%, 0%, 79.6%, 61.6%)
CIE-LABlab(38.07, -22.54, 38.40)
CIE-LCHlch(38.07, 44.52, 120.42°)
OKLaboklab(45.85% -0.0648 0.0853)
OKLCHoklch(45.85% 0.107 127.2)
XYZxyz(7.0925, 10.1253, 2.2424)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476214 #2F1462
analogous
#625614 #476214 #206214
triadic
#476214 #144762 #621447
tetradic
#476214 #146256 #2F1462 #621420
square
#476214 #146256 #2F1462 #621420
split-complementary
#476214 #142062 #561462
monochromatic
#121905 #222F0A #476214 #6C951E #91C829

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476214#FFFFFF#000000##FFFFFF
##4762141.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)
#675B04
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#4A5D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476214;
/* rgb */ color: rgb(71, 98, 20);
/* oklch */ color: oklch(45.8% 0.107 127.2);
Tailwind
colors: {
  custom: {
    50: '#7d8e58',
    500: '#476214',
    950: '#000000',
  },
}
SCSS
$custom: #476214;
$custom-light: #7d8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#476214",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 80.769,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45846,
    "c": 0.10718,
    "h": 127.2
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#476214
secondary
#5A3899
accent
#3FE97A
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476214

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

Preview Lab → · Contrast checker → · Palette generator →

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