#479B18#479B18

#479B18 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.3% C 0.178 H 137.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#479B18
RGBrgb(71, 155, 24)
HSLhsl(98, 73%, 35%)
HSVhsv(98, 85%, 61%)
CMYKcmyk(54.2%, 0%, 84.5%, 39.2%)
CIE-LABlab(56.93, -47.27, 54.61)
CIE-LCHlch(56.93, 72.23, 130.88°)
OKLaboklab(61.31% -0.1312 0.1201)
OKLCHoklch(61.31% 0.178 137.5)
XYZxyz(14.4843, 24.8471, 4.8967)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#479B18 #6C189B
analogous
#899B18 #479B18 #189B2A
triadic
#479B18 #18479B #9B1847
tetradic
#479B18 #18899B #6C189B #9B2A18
square
#479B18 #18899B #6C189B #9B2A18
split-complementary
#479B18 #2A189B #9B1889
monochromatic
#163108 #2F6610 #479B18 #5FD020 #81E34A

Accessibility & contrast

On white

3.52
#479B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#479B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #479B18
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##479B18#FFFFFF#000000##000000
##479B181.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#419584
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #479b18;
/* rgb */ color: rgb(71, 155, 24);
/* oklch */ color: oklch(61.3% 0.178 137.5);
Tailwind
colors: {
  custom: {
    50: '#84b963',
    500: '#479b18',
    950: '#000000',
  },
}
SCSS
$custom: #479b18;
$custom-light: #84b963;
$custom-dark: #000000;
JSON
{
  "hex": "#479b18",
  "rgb": {
    "r": 71,
    "g": 155,
    "b": 24
  },
  "hsl": {
    "h": 98.473,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61306,
    "c": 0.17781,
    "h": 137.5
  },
  "luminance": 0.24848
}

Semantic roles & 50–950 ramp

primary
#479B18
secondary
#994AC5
accent
#38F0AE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #479B18

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

Preview Lab → · Contrast checker → · Palette generator →

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