#557815#557815

#557815 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.7% C 0.128 H 128.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#557815
RGBrgb(85, 120, 21)
HSLhsl(81, 70%, 28%)
HSVhsv(81, 83%, 47%)
CMYKcmyk(29.2%, 0%, 82.5%, 52.9%)
CIE-LABlab(46.20, -27.45, 46.00)
CIE-LCHlch(46.20, 53.57, 120.83°)
OKLaboklab(52.7% -0.079 0.1011)
OKLCHoklch(52.7% 0.128 128)
XYZxyz(10.5982, 15.4181, 3.1269)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557815 #381578
analogous
#786915 #557815 #247815
triadic
#557815 #155578 #781555
tetradic
#557815 #157869 #381578 #781524
square
#557815 #157869 #381578 #781524
split-complementary
#557815 #152478 #691578
monochromatic
#121A05 #30440C #557815 #7AAC1E #9DDA2D

Accessibility & contrast

On white

5.14
#557815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#557815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557815
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557815#FFFFFF#000000##FFFFFF
##5578151.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#587266
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #557815;
/* rgb */ color: rgb(85, 120, 21);
/* oklch */ color: oklch(52.7% 0.128 128.0);
Tailwind
colors: {
  custom: {
    50: '#899f5c',
    500: '#557815',
    950: '#000000',
  },
}
SCSS
$custom: #557815;
$custom-light: #899f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#557815",
  "rgb": {
    "r": 85,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 81.212,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.12833,
    "h": 128
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#557815
secondary
#643BAE
accent
#3BED7A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #557815

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

Preview Lab → · Contrast checker → · Palette generator →

#557815 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva