#538A18#538A18

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

Color values

HEX#538A18
RGBrgb(83, 138, 24)
HSLhsl(89, 70%, 32%)
HSVhsv(89, 83%, 54%)
CMYKcmyk(39.9%, 0%, 82.6%, 45.9%)
CIE-LABlab(51.93, -36.37, 50.28)
CIE-LCHlch(51.93, 62.06, 125.88°)
OKLaboklab(57.34% -0.1027 0.1107)
OKLCHoklch(57.34% 0.151 132.9)
XYZxyz(12.8205, 20.0813, 4.0645)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538A18 #4F188A
analogous
#8A8818 #538A18 #1A8A18
triadic
#538A18 #18538A #8A1853
tetradic
#538A18 #188A88 #4F188A #8A181A
square
#538A18 #188A88 #4F188A #8A181A
split-complementary
#538A18 #181A8A #88188A
monochromatic
#142206 #34560F #538A18 #72BE21 #91DE3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538A18#FFFFFF#000000##000000
##538A181.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: #538a18;
/* rgb */ color: rgb(83, 138, 24);
/* oklch */ color: oklch(57.3% 0.151 132.9);
Tailwind
colors: {
  custom: {
    50: '#89ac60',
    500: '#538a18',
    950: '#000000',
  },
}
SCSS
$custom: #538a18;
$custom-light: #89ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#538a18",
  "rgb": {
    "r": 83,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 88.947,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.15103,
    "h": 132.9
  },
  "luminance": 0.20082
}

Semantic roles & 50–950 ramp

primary
#538A18
secondary
#7D40BD
accent
#3BED91
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538A18

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

Preview Lab → · Contrast checker → · Palette generator →

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