#538C24#538C24

#538C24 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.0% C 0.147 H 134.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#538C24
RGBrgb(83, 140, 36)
HSLhsl(93, 59%, 35%)
HSVhsv(93, 74%, 55%)
CMYKcmyk(40.7%, 0%, 74.3%, 45.1%)
CIE-LABlab(52.64, -36.53, 46.88)
CIE-LCHlch(52.64, 59.43, 127.93°)
OKLaboklab(57.95% -0.1023 0.1055)
OKLCHoklch(57.95% 0.147 134.1)
XYZxyz(13.2636, 20.7219, 4.9696)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C24 #5D248C
analogous
#878C24 #538C24 #248C29
triadic
#538C24 #24538C #8C2453
tetradic
#538C24 #24878C #5D248C #8C2924
square
#538C24 #24878C #5D248C #8C2924
split-complementary
#538C24 #29248C #8C2487
monochromatic
#192B0B #365B17 #538C24 #70BD31 #8FD457

Accessibility & contrast

On white

4.08
#538C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#538C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538C24
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538C24#FFFFFF#000000##000000
##538C241.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928111
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#528678
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538c24;
/* rgb */ color: rgb(83, 140, 36);
/* oklch */ color: oklch(58.0% 0.147 134.1);
Tailwind
colors: {
  custom: {
    50: '#88ae66',
    500: '#538c24',
    950: '#000000',
  },
}
SCSS
$custom: #538c24;
$custom-light: #88ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#538c24",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 92.885,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5795,
    "c": 0.14695,
    "h": 134.1
  },
  "luminance": 0.20723
}

Semantic roles & 50–950 ramp

primary
#538C24
secondary
#8B54B8
accent
#46E29B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538C24

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

Preview Lab → · Contrast checker → · Palette generator →

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