#538D18#538D18

#538D18 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.155 H 133.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#538D18
RGBrgb(83, 141, 24)
HSLhsl(90, 71%, 32%)
HSVhsv(90, 83%, 55%)
CMYKcmyk(41.1%, 0%, 83%, 44.7%)
CIE-LABlab(52.90, -37.68, 51.16)
CIE-LCHlch(52.90, 63.54, 126.37°)
OKLaboklab(58.14% -0.1062 0.1126)
OKLCHoklch(58.14% 0.155 133.3)
XYZxyz(13.2568, 20.9540, 4.2100)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D18 #52188D
analogous
#8D8D18 #538D18 #188D18
triadic
#538D18 #18538D #8D1853
tetradic
#538D18 #188D8D #52188D #8D1818
square
#538D18 #188D8D #52188D #8D1818
split-complementary
#538D18 #18188D #8D188D
monochromatic
#152406 #34590F #538D18 #72C121 #90DF41

Accessibility & contrast

On white

4.05
#538D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#538D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538D18
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538D18#FFFFFF#000000##000000
##538D181.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#538778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d18;
/* rgb */ color: rgb(83, 141, 24);
/* oklch */ color: oklch(58.1% 0.155 133.3);
Tailwind
colors: {
  custom: {
    50: '#89af61',
    500: '#538d18',
    950: '#000000',
  },
}
SCSS
$custom: #538d18;
$custom-light: #89af61;
$custom-dark: #000000;
JSON
{
  "hex": "#538d18",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 89.744,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58138,
    "c": 0.15479,
    "h": 133.3
  },
  "luminance": 0.20955
}

Semantic roles & 50–950 ramp

primary
#538D18
secondary
#8042BF
accent
#3AEE93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538D18

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

Preview Lab → · Contrast checker → · Palette generator →

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