#538D17#538D17

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

Color values

HEX#538D17
RGBrgb(83, 141, 23)
HSLhsl(89, 72%, 32%)
HSVhsv(89, 84%, 55%)
CMYKcmyk(41.1%, 0%, 83.7%, 44.7%)
CIE-LABlab(52.89, -37.73, 51.44)
CIE-LCHlch(52.89, 63.79, 126.25°)
OKLaboklab(58.13% -0.1064 0.113)
OKLCHoklch(58.13% 0.155 133.3)
XYZxyz(13.2466, 20.9500, 4.1562)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D17 #51178D
analogous
#8D8C17 #538D17 #188D17
triadic
#538D17 #17538D #8D1753
tetradic
#538D17 #178D8C #51178D #8D1718
square
#538D17 #178D8C #51178D #8D1718
split-complementary
#538D17 #17188D #8C178D
monochromatic
#152406 #34580E #538D17 #72C220 #91E03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538D17#FFFFFF#000000##000000
##538D171.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)
#8B7D25
Tritanopia (blue-blind)
#538778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d17;
/* rgb */ color: rgb(83, 141, 23);
/* oklch */ color: oklch(58.1% 0.155 133.3);
Tailwind
colors: {
  custom: {
    50: '#89af60',
    500: '#538d17',
    950: '#000000',
  },
}
SCSS
$custom: #538d17;
$custom-light: #89af60;
$custom-dark: #000000;
JSON
{
  "hex": "#538d17",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 89.492,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.15524,
    "h": 133.3
  },
  "luminance": 0.20951
}

Semantic roles & 50–950 ramp

primary
#538D17
secondary
#7F40C0
accent
#39EF92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538D17

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

Preview Lab → · Contrast checker → · Palette generator →

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