#538A17#538A17

#538A17 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.151 H 132.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#538A17
RGBrgb(83, 138, 23)
HSLhsl(89, 71%, 32%)
HSVhsv(89, 83%, 54%)
CMYKcmyk(39.9%, 0%, 83.3%, 45.9%)
CIE-LABlab(51.92, -36.42, 50.57)
CIE-LCHlch(51.92, 62.32, 125.77°)
OKLaboklab(57.34% -0.1029 0.1111)
OKLCHoklch(57.34% 0.151 132.8)
XYZxyz(12.8102, 20.0772, 4.0108)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538A17 #4E178A
analogous
#8A8817 #538A17 #198A17
triadic
#538A17 #17538A #8A1753
tetradic
#538A17 #178A88 #4E178A #8A1719
square
#538A17 #178A88 #4E178A #8A1719
split-complementary
#538A17 #17198A #88178A
monochromatic
#142106 #33560E #538A17 #73BE20 #91DF3D

Accessibility & contrast

On white

4.19
#538A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#538A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538A17
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538A17#FFFFFF#000000##000000
##538A171.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#538475
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #538a17;
/* rgb */ color: rgb(83, 138, 23);
/* oklch */ color: oklch(57.3% 0.151 132.8);
Tailwind
colors: {
  custom: {
    50: '#89ac60',
    500: '#538a17',
    950: '#000000',
  },
}
SCSS
$custom: #538a17;
$custom-light: #89ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#538a17",
  "rgb": {
    "r": 83,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 88.696,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.15149,
    "h": 132.8
  },
  "luminance": 0.20078
}

Semantic roles & 50–950 ramp

primary
#538A17
secondary
#7C3FBE
accent
#3AEE90
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #538A17

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

Preview Lab → · Contrast checker → · Palette generator →

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