#557B1F#557B1F

#557B1F is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.6% C 0.126 H 129.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#557B1F
RGBrgb(85, 123, 31)
HSLhsl(85, 60%, 30%)
HSVhsv(85, 75%, 48%)
CMYKcmyk(30.9%, 0%, 74.8%, 51.8%)
CIE-LABlab(47.23, -28.32, 43.44)
CIE-LCHlch(47.23, 51.85, 123.10°)
OKLaboklab(53.55% -0.0806 0.0974)
OKLCHoklch(53.55% 0.126 129.6)
XYZxyz(11.0765, 16.1958, 3.8386)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557B1F #451F7B
analogous
#7B731F #557B1F #277B1F
triadic
#557B1F #1F557B #7B1F55
tetradic
#557B1F #1F7B73 #451F7B #7B1F27
square
#557B1F #1F7B73 #451F7B #7B1F27
split-complementary
#557B1F #1F277B #731F7B
monochromatic
#111906 #334A13 #557B1F #77AC2B #96D044

Accessibility & contrast

On white

4.95
#557B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#557B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557B1F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557B1F#FFFFFF#000000##FFFFFF
##557B1F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#577569
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #557b1f;
/* rgb */ color: rgb(85, 123, 31);
/* oklch */ color: oklch(53.6% 0.126 129.6);
Tailwind
colors: {
  custom: {
    50: '#88a161',
    500: '#557b1f',
    950: '#000000',
  },
}
SCSS
$custom: #557b1f;
$custom-light: #88a161;
$custom-dark: #000000;
JSON
{
  "hex": "#557b1f",
  "rgb": {
    "r": 85,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 84.783,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.12644,
    "h": 129.6
  },
  "luminance": 0.16196
}

Semantic roles & 50–950 ramp

primary
#557B1F
secondary
#7248AE
accent
#45E386
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F05
muted
#7D7E7A

Preview Lab

Preview with #557B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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