#557F12#557F12

#557F12 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.139 H 129.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#557F12
RGBrgb(85, 127, 18)
HSLhsl(83, 75%, 28%)
HSVhsv(83, 86%, 50%)
CMYKcmyk(33.1%, 0%, 85.8%, 50.2%)
CIE-LABlab(48.45, -30.91, 48.89)
CIE-LCHlch(48.45, 57.85, 122.30°)
OKLaboklab(54.53% -0.0885 0.1068)
OKLCHoklch(54.53% 0.139 129.7)
XYZxyz(11.4448, 17.1533, 3.2801)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557F12 #3C127F
analogous
#7F7212 #557F12 #1F7F12
triadic
#557F12 #12557F #7F1255
tetradic
#557F12 #127F72 #3C127F #7F121F
square
#557F12 #127F72 #3C127F #7F121F
split-complementary
#557F12 #121F7F #72127F
monochromatic
#121B04 #31490A #557F12 #79B51A #9BE12B

Accessibility & contrast

On white

4.74
#557F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#557F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557F12
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557F12#FFFFFF#000000##FFFFFF
##557F121.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#58796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #557f12;
/* rgb */ color: rgb(85, 127, 18);
/* oklch */ color: oklch(54.5% 0.139 129.7);
Tailwind
colors: {
  custom: {
    50: '#89a45c',
    500: '#557f12',
    950: '#000000',
  },
}
SCSS
$custom: #557f12;
$custom-light: #89a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#557f12",
  "rgb": {
    "r": 85,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 83.119,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.1387,
    "h": 129.7
  },
  "luminance": 0.17154
}

Semantic roles & 50–950 ramp

primary
#557F12
secondary
#6838B5
accent
#36F27E
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #557F12

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

Preview Lab → · Contrast checker → · Palette generator →

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