#479A1C#479A1C

#479A1C is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.1% C 0.175 H 137.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#479A1C
RGBrgb(71, 154, 28)
HSLhsl(100, 69%, 36%)
HSVhsv(100, 82%, 60%)
CMYKcmyk(53.9%, 0%, 81.8%, 39.6%)
CIE-LABlab(56.62, -46.69, 53.22)
CIE-LCHlch(56.62, 70.79, 131.26°)
OKLaboklab(61.06% -0.1294 0.1177)
OKLCHoklch(61.06% 0.175 137.7)
XYZxyz(14.3632, 24.5335, 5.0769)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#479A1C #6F1C9A
analogous
#869A1C #479A1C #1C9A30
triadic
#479A1C #1C479A #9A1C47
tetradic
#479A1C #1C869A #6F1C9A #9A301C
square
#479A1C #1C869A #6F1C9A #9A301C
split-complementary
#479A1C #301C9A #9A1C86
monochromatic
#173209 #2F6613 #479A1C #5FCE25 #82DF51

Accessibility & contrast

On white

3.56
#479A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#479A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #479A1C
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##479A1C#FFFFFF#000000##000000
##479A1C1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#95852B
Tritanopia (blue-blind)
#419483
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #479a1c;
/* rgb */ color: rgb(71, 154, 28);
/* oklch */ color: oklch(61.1% 0.175 137.7);
Tailwind
colors: {
  custom: {
    50: '#83b864',
    500: '#479a1c',
    950: '#000000',
  },
}
SCSS
$custom: #479a1c;
$custom-light: #83b864;
$custom-dark: #000000;
JSON
{
  "hex": "#479a1c",
  "rgb": {
    "r": 71,
    "g": 154,
    "b": 28
  },
  "hsl": {
    "h": 99.524,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61057,
    "c": 0.17493,
    "h": 137.7
  },
  "luminance": 0.24535
}

Semantic roles & 50–950 ramp

primary
#479A1C
secondary
#9B50C2
accent
#3CECB0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #479A1C

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

Preview Lab → · Contrast checker → · Palette generator →

#479A1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva