#538E17#538E17

#538E17 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.156 H 133.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#538E17
RGBrgb(83, 142, 23)
HSLhsl(90, 72%, 32%)
HSVhsv(90, 84%, 56%)
CMYKcmyk(41.5%, 0%, 83.8%, 44.3%)
CIE-LABlab(53.22, -38.16, 51.74)
CIE-LCHlch(53.22, 64.28, 126.41°)
OKLaboklab(58.4% -0.1076 0.1136)
OKLCHoklch(58.4% 0.156 133.4)
XYZxyz(13.3947, 21.2462, 4.2056)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538E17 #52178E
analogous
#8E8E17 #538E17 #188E17
triadic
#538E17 #17538E #8E1753
tetradic
#538E17 #178E8E #52178E #8E1718
square
#538E17 #178E8E #52178E #8E1718
split-complementary
#538E17 #17188E #8E178E
monochromatic
#152506 #34590E #538E17 #72C320 #90E03F

Accessibility & contrast

On white

4.00
#538E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#538E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538E17
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538E17#FFFFFF#000000##000000
##538E171.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#538879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538e17;
/* rgb */ color: rgb(83, 142, 23);
/* oklch */ color: oklch(58.4% 0.156 133.4);
Tailwind
colors: {
  custom: {
    50: '#89af60',
    500: '#538e17',
    950: '#000000',
  },
}
SCSS
$custom: #538e17;
$custom-light: #89af60;
$custom-dark: #000000;
JSON
{
  "hex": "#538e17",
  "rgb": {
    "r": 83,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 89.748,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58397,
    "c": 0.15648,
    "h": 133.4
  },
  "luminance": 0.21247
}

Semantic roles & 50–950 ramp

primary
#538E17
secondary
#8040C0
accent
#39EF93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538E17

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

Preview Lab → · Contrast checker → · Palette generator →

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