#557512#557512

#557512 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.9% C 0.126 H 126.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#557512
RGBrgb(85, 117, 18)
HSLhsl(79, 73%, 26%)
HSVhsv(79, 85%, 46%)
CMYKcmyk(27.4%, 0%, 84.6%, 54.1%)
CIE-LABlab(45.22, -26.13, 46.02)
CIE-LCHlch(45.22, 52.92, 119.59°)
OKLaboklab(51.89% -0.0756 0.1007)
OKLCHoklch(51.89% 0.126 126.9)
XYZxyz(10.2168, 14.6973, 2.8707)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557512 #321275
analogous
#756412 #557512 #247512
triadic
#557512 #125575 #751255
tetradic
#557512 #127564 #321275 #751224
square
#557512 #127564 #321275 #751224
split-complementary
#557512 #122475 #641275
monochromatic
#131B04 #2E400A #557512 #7CAA1A #A1DD24

Accessibility & contrast

On white

5.33
#557512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#557512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557512
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557512#FFFFFF#000000##FFFFFF
##5575121.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#776A1D
Tritanopia (blue-blind)
#596F63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #557512;
/* rgb */ color: rgb(85, 117, 18);
/* oklch */ color: oklch(51.9% 0.126 126.9);
Tailwind
colors: {
  custom: {
    50: '#889d5a',
    500: '#557512',
    950: '#000000',
  },
}
SCSS
$custom: #557512;
$custom-light: #889d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#557512",
  "rgb": {
    "r": 85,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 79.394,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.12591,
    "h": 126.9
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#557512
secondary
#5D37AC
accent
#38F073
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #557512

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

Preview Lab → · Contrast checker → · Palette generator →

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