#557F1C#557F1C

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

Color values

HEX#557F1C
RGBrgb(85, 127, 28)
HSLhsl(85, 64%, 30%)
HSVhsv(85, 78%, 50%)
CMYKcmyk(33.1%, 0%, 78%, 50.2%)
CIE-LABlab(48.50, -30.41, 45.80)
CIE-LCHlch(48.50, 54.98, 123.58°)
OKLaboklab(54.58% -0.0865 0.1019)
OKLCHoklch(54.58% 0.134 130.3)
XYZxyz(11.5452, 17.1935, 3.8088)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557F1C #461C7F
analogous
#7F781C #557F1C #237F1C
triadic
#557F1C #1C557F #7F1C55
tetradic
#557F1C #1C7F78 #461C7F #7F1C23
square
#557F1C #1C7F78 #461C7F #7F1C23
split-complementary
#557F1C #1C237F #781C7F
monochromatic
#121B06 #334D11 #557F1C #77B127 #96D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##557F1C#FFFFFF#000000##FFFFFF
##557F1C1.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)
#857505
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#57796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #557f1c;
/* rgb */ color: rgb(85, 127, 28);
/* oklch */ color: oklch(54.6% 0.134 130.3);
Tailwind
colors: {
  custom: {
    50: '#89a460',
    500: '#557f1c',
    950: '#000000',
  },
}
SCSS
$custom: #557f1c;
$custom-light: #89a460;
$custom-dark: #000000;
JSON
{
  "hex": "#557f1c",
  "rgb": {
    "r": 85,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 85.455,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54582,
    "c": 0.13366,
    "h": 130.3
  },
  "luminance": 0.17194
}

Semantic roles & 50–950 ramp

primary
#557F1C
secondary
#7344B3
accent
#41E787
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #557F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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