#558F12#558F12

#558F12 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.159 H 132.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#558F12
RGBrgb(85, 143, 18)
HSLhsl(88, 78%, 32%)
HSVhsv(88, 87%, 56%)
CMYKcmyk(40.6%, 0%, 87.4%, 43.9%)
CIE-LABlab(53.62, -38.07, 53.41)
CIE-LCHlch(53.62, 65.59, 125.48°)
OKLaboklab(58.75% -0.1078 0.1164)
OKLCHoklch(58.75% 0.159 132.8)
XYZxyz(13.6778, 21.6192, 4.0244)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#558F12 #4C128F
analogous
#8F8B12 #558F12 #178F12
triadic
#558F12 #12558F #8F1255
tetradic
#558F12 #128F8B #4C128F #8F1217
square
#558F12 #128F8B #4C128F #8F1217
split-complementary
#558F12 #12178F #8B128F
monochromatic
#142204 #35590B #558F12 #75C519 #94E636

Accessibility & contrast

On white

3.94
#558F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#558F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #558F12
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##558F12#FFFFFF#000000##000000
##558F121.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7F23
Tritanopia (blue-blind)
#558979
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #558f12;
/* rgb */ color: rgb(85, 143, 18);
/* oklch */ color: oklch(58.7% 0.159 132.8);
Tailwind
colors: {
  custom: {
    50: '#8bb05f',
    500: '#558f12',
    950: '#000000',
  },
}
SCSS
$custom: #558f12;
$custom-light: #8bb05f;
$custom-dark: #000000;
JSON
{
  "hex": "#558f12",
  "rgb": {
    "r": 85,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 87.84,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58748,
    "c": 0.15861,
    "h": 132.8
  },
  "luminance": 0.2162
}

Semantic roles & 50–950 ramp

primary
#558F12
secondary
#793AC3
accent
#34F48D
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #558F12

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

Preview Lab → · Contrast checker → · Palette generator →

#558F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva