#557212#557212

#557212 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.1% C 0.122 H 125.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#557212
RGBrgb(85, 114, 18)
HSLhsl(78, 73%, 26%)
HSVhsv(78, 84%, 45%)
CMYKcmyk(25.4%, 0%, 84.2%, 55.3%)
CIE-LABlab(44.25, -24.64, 45.15)
CIE-LCHlch(44.25, 51.44, 118.63°)
OKLaboklab(51.1% -0.0716 0.0988)
OKLCHoklch(51.1% 0.122 125.9)
XYZxyz(9.8729, 14.0094, 2.7561)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557212 #2F1272
analogous
#725F12 #557212 #257212
triadic
#557212 #125572 #721255
tetradic
#557212 #12725F #2F1272 #721225
square
#557212 #12725F #2F1272 #721225
split-complementary
#557212 #122572 #5F1272
monochromatic
#141A04 #2E3D0A #557212 #7CA71A #A4DC23

Accessibility & contrast

On white

5.52
#557212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#557212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557212
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557212#FFFFFF#000000##FFFFFF
##5572121.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#596C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #557212;
/* rgb */ color: rgb(85, 114, 18);
/* oklch */ color: oklch(51.1% 0.122 125.9);
Tailwind
colors: {
  custom: {
    50: '#889a5a',
    500: '#557212',
    950: '#000000',
  },
}
SCSS
$custom: #557212;
$custom-light: #889a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#557212",
  "rgb": {
    "r": 85,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 78.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.12204,
    "h": 125.9
  },
  "luminance": 0.1401
}

Semantic roles & 50–950 ramp

primary
#557212
secondary
#5937A9
accent
#38EF70
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #557212

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

Preview Lab → · Contrast checker → · Palette generator →

#557212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva