#538D24#538D24

#538D24 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.148 H 134.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#538D24
RGBrgb(83, 141, 36)
HSLhsl(93, 59%, 35%)
HSVhsv(93, 74%, 55%)
CMYKcmyk(41.1%, 0%, 74.5%, 44.7%)
CIE-LABlab(52.97, -36.97, 47.20)
CIE-LCHlch(52.97, 59.96, 128.07°)
OKLaboklab(58.21% -0.1035 0.1061)
OKLCHoklch(58.21% 0.148 134.3)
XYZxyz(13.4103, 21.0154, 5.0185)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D24 #5E248D
analogous
#888D24 #538D24 #248D2A
triadic
#538D24 #24538D #8D2453
tetradic
#538D24 #24888D #5E248D #8D2A24
square
#538D24 #24888D #5E248D #8D2A24
split-complementary
#538D24 #2A248D #8D2488
monochromatic
#1A2B0B #365C18 #538D24 #70BE30 #8FD457

Accessibility & contrast

On white

4.04
#538D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#538D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538D24
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538D24#FFFFFF#000000##000000
##538D241.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938111
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#528779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d24;
/* rgb */ color: rgb(83, 141, 36);
/* oklch */ color: oklch(58.2% 0.148 134.3);
Tailwind
colors: {
  custom: {
    50: '#88af66',
    500: '#538d24',
    950: '#000000',
  },
}
SCSS
$custom: #538d24;
$custom-light: #88af66;
$custom-dark: #000000;
JSON
{
  "hex": "#538d24",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 93.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58214,
    "c": 0.14826,
    "h": 134.3
  },
  "luminance": 0.21016
}

Semantic roles & 50–950 ramp

primary
#538D24
secondary
#8C54B8
accent
#45E39C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538D24

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

Preview Lab → · Contrast checker → · Palette generator →

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