#557312#557312

#557312 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.4% C 0.123 H 126.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#557312
RGBrgb(85, 115, 18)
HSLhsl(79, 73%, 26%)
HSVhsv(79, 84%, 45%)
CMYKcmyk(26.1%, 0%, 84.3%, 54.9%)
CIE-LABlab(44.57, -25.14, 45.44)
CIE-LCHlch(44.57, 51.93, 118.96°)
OKLaboklab(51.37% -0.073 0.0994)
OKLCHoklch(51.37% 0.123 126.3)
XYZxyz(9.9863, 14.2363, 2.7939)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557312 #301273
analogous
#736012 #557312 #247312
triadic
#557312 #125573 #731255
tetradic
#557312 #127360 #301273 #731224
square
#557312 #127360 #301273 #731224
split-complementary
#557312 #122473 #601273
monochromatic
#141A04 #2E3E0A #557312 #7CA81A #A3DD23

Accessibility & contrast

On white

5.46
#557312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#557312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557312
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557312#FFFFFF#000000##FFFFFF
##5573121.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#76691D
Tritanopia (blue-blind)
#596D61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #557312;
/* rgb */ color: rgb(85, 115, 18);
/* oklch */ color: oklch(51.4% 0.123 126.3);
Tailwind
colors: {
  custom: {
    50: '#889b5a',
    500: '#557312',
    950: '#000000',
  },
}
SCSS
$custom: #557312;
$custom-light: #889b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#557312",
  "rgb": {
    "r": 85,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 78.557,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51366,
    "c": 0.12333,
    "h": 126.3
  },
  "luminance": 0.14236
}

Semantic roles & 50–950 ramp

primary
#557312
secondary
#5B37AA
accent
#38F071
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #557312

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

Preview Lab → · Contrast checker → · Palette generator →

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