#538D15#538D15

#538D15 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.156 H 133.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#538D15
RGBrgb(83, 141, 21)
HSLhsl(89, 74%, 32%)
HSVhsv(89, 85%, 55%)
CMYKcmyk(41.1%, 0%, 85.1%, 44.7%)
CIE-LABlab(52.89, -37.82, 51.98)
CIE-LCHlch(52.89, 64.28, 126.03°)
OKLaboklab(58.12% -0.1068 0.1138)
OKLCHoklch(58.12% 0.156 133.2)
XYZxyz(13.2273, 20.9422, 4.0546)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D15 #4F158D
analogous
#8D8B15 #538D15 #178D15
triadic
#538D15 #15538D #8D1553
tetradic
#538D15 #158D8B #4F158D #8D1517
square
#538D15 #158D8B #4F158D #8D1517
split-complementary
#538D15 #15178D #8B158D
monochromatic
#142205 #34580D #538D15 #72C21D #91E23B

Accessibility & contrast

On white

4.05
#538D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#538D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538D15
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538D15#FFFFFF#000000##000000
##538D151.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#538778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d15;
/* rgb */ color: rgb(83, 141, 21);
/* oklch */ color: oklch(58.1% 0.156 133.2);
Tailwind
colors: {
  custom: {
    50: '#89af5f',
    500: '#538d15',
    950: '#000000',
  },
}
SCSS
$custom: #538d15;
$custom-light: #89af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#538d15",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 89,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58123,
    "c": 0.15608,
    "h": 133.2
  },
  "luminance": 0.20943
}

Semantic roles & 50–950 ramp

primary
#538D15
secondary
#7D3DC1
accent
#37F191
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #538D15

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

Preview Lab → · Contrast checker → · Palette generator →

#538D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva