#557F1F#557F1F

#557F1F is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.132 H 130.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#557F1F
RGBrgb(85, 127, 31)
HSLhsl(86, 61%, 31%)
HSVhsv(86, 76%, 50%)
CMYKcmyk(33.1%, 0%, 75.6%, 50.2%)
CIE-LABlab(48.52, -30.22, 44.72)
CIE-LCHlch(48.52, 53.97, 124.05°)
OKLaboklab(54.6% -0.0857 0.1001)
OKLCHoklch(54.6% 0.132 130.6)
XYZxyz(11.5829, 17.2086, 4.0074)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557F1F #491F7F
analogous
#7F791F #557F1F #257F1F
triadic
#557F1F #1F557F #7F1F55
tetradic
#557F1F #1F7F79 #491F7F #7F1F25
square
#557F1F #1F7F79 #491F7F #7F1F25
split-complementary
#557F1F #1F257F #791F7F
monochromatic
#131D07 #344E13 #557F1F #76B02B #95D246

Accessibility & contrast

On white

4.73
#557F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#557F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557F1F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557F1F#FFFFFF#000000##FFFFFF
##557F1F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750D
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#57796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #557f1f;
/* rgb */ color: rgb(85, 127, 31);
/* oklch */ color: oklch(54.6% 0.132 130.6);
Tailwind
colors: {
  custom: {
    50: '#89a462',
    500: '#557f1f',
    950: '#000000',
  },
}
SCSS
$custom: #557f1f;
$custom-light: #89a462;
$custom-dark: #000000;
JSON
{
  "hex": "#557f1f",
  "rgb": {
    "r": 85,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 86.25,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.13182,
    "h": 130.6
  },
  "luminance": 0.17209
}

Semantic roles & 50–950 ramp

primary
#557F1F
secondary
#7648B2
accent
#44E48A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #557F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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