#479A1B#479A1B

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

Color values

HEX#479A1B
RGBrgb(71, 154, 27)
HSLhsl(99, 70%, 35%)
HSVhsv(99, 82%, 60%)
CMYKcmyk(53.9%, 0%, 82.5%, 39.6%)
CIE-LABlab(56.61, -46.74, 53.50)
CIE-LCHlch(56.61, 71.04, 131.14°)
OKLaboklab(61.05% -0.1296 0.1182)
OKLCHoklch(61.05% 0.175 137.6)
XYZxyz(14.3515, 24.5288, 5.0150)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#479A1B #6E1B9A
analogous
#869A1B #479A1B #1B9A2F
triadic
#479A1B #1B479A #9A1B47
tetradic
#479A1B #1B869A #6E1B9A #9A2F1B
square
#479A1B #1B869A #6E1B9A #9A2F1B
split-complementary
#479A1B #2F1B9A #9A1B86
monochromatic
#173209 #2F6612 #479A1B #5FCE24 #81E04F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##479A1B#FFFFFF#000000##000000
##479A1B1.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: #479a1b;
/* rgb */ color: rgb(71, 154, 27);
/* oklch */ color: oklch(61.1% 0.175 137.6);
Tailwind
colors: {
  custom: {
    50: '#83b864',
    500: '#479a1b',
    950: '#000000',
  },
}
SCSS
$custom: #479a1b;
$custom-light: #83b864;
$custom-dark: #000000;
JSON
{
  "hex": "#479a1b",
  "rgb": {
    "r": 71,
    "g": 154,
    "b": 27
  },
  "hsl": {
    "h": 99.213,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.17537,
    "h": 137.6
  },
  "luminance": 0.2453
}

Semantic roles & 50–950 ramp

primary
#479A1B
secondary
#9A4EC3
accent
#3BEDAF
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #479A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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