#557A1F#557A1F

#557A1F is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.3% C 0.125 H 129.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#557A1F
RGBrgb(85, 122, 31)
HSLhsl(84, 59%, 30%)
HSVhsv(84, 75%, 48%)
CMYKcmyk(30.3%, 0%, 74.6%, 52.2%)
CIE-LABlab(46.91, -27.84, 43.12)
CIE-LCHlch(46.91, 51.32, 122.85°)
OKLaboklab(53.29% -0.0792 0.0968)
OKLCHoklch(53.29% 0.125 129.3)
XYZxyz(10.9531, 15.9490, 3.7974)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557A1F #441F7A
analogous
#7A721F #557A1F #277A1F
triadic
#557A1F #1F557A #7A1F55
tetradic
#557A1F #1F7A72 #441F7A #7A1F27
square
#557A1F #1F7A72 #441F7A #7A1F27
split-complementary
#557A1F #1F277A #721F7A
monochromatic
#111806 #334913 #557A1F #77AB2B #97CF44

Accessibility & contrast

On white

5.01
#557A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#557A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557A1F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557A1F#FFFFFF#000000##FFFFFF
##557A1F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710F
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#587468
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #557a1f;
/* rgb */ color: rgb(85, 122, 31);
/* oklch */ color: oklch(53.3% 0.125 129.3);
Tailwind
colors: {
  custom: {
    50: '#88a061',
    500: '#557a1f',
    950: '#000000',
  },
}
SCSS
$custom: #557a1f;
$custom-light: #88a061;
$custom-dark: #000000;
JSON
{
  "hex": "#557a1f",
  "rgb": {
    "r": 85,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 84.396,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.12507,
    "h": 129.3
  },
  "luminance": 0.15949
}

Semantic roles & 50–950 ramp

primary
#557A1F
secondary
#7147AD
accent
#45E385
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #557A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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