#557E1F#557E1F

#557E1F is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.130 H 130.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#557E1F
RGBrgb(85, 126, 31)
HSLhsl(86, 61%, 31%)
HSVhsv(86, 75%, 49%)
CMYKcmyk(32.5%, 0%, 75.4%, 50.6%)
CIE-LABlab(48.20, -29.75, 44.40)
CIE-LCHlch(48.20, 53.44, 123.82°)
OKLaboklab(54.34% -0.0844 0.0995)
OKLCHoklch(54.34% 0.13 130.3)
XYZxyz(11.4544, 16.9516, 3.9645)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557E1F #481F7E
analogous
#7E771F #557E1F #257E1F
triadic
#557E1F #1F557E #7E1F55
tetradic
#557E1F #1F7E77 #481F7E #7E1F25
square
#557E1F #1F7E77 #481F7E #7E1F25
split-complementary
#557E1F #1F257E #771F7E
monochromatic
#131C07 #344D13 #557E1F #76AF2B #95D146

Accessibility & contrast

On white

4.78
#557E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#557E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557E1F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557E1F#FFFFFF#000000##FFFFFF
##557E1F1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740D
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#57786C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #557e1f;
/* rgb */ color: rgb(85, 126, 31);
/* oklch */ color: oklch(54.3% 0.130 130.3);
Tailwind
colors: {
  custom: {
    50: '#89a362',
    500: '#557e1f',
    950: '#000000',
  },
}
SCSS
$custom: #557e1f;
$custom-light: #89a362;
$custom-dark: #000000;
JSON
{
  "hex": "#557e1f",
  "rgb": {
    "r": 85,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 85.895,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5434,
    "c": 0.13047,
    "h": 130.3
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#557E1F
secondary
#7548B1
accent
#44E489
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #557E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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