#538E18#538E18

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

Color values

HEX#538E18
RGBrgb(83, 142, 24)
HSLhsl(90, 71%, 33%)
HSVhsv(90, 83%, 56%)
CMYKcmyk(41.5%, 0%, 83.1%, 44.3%)
CIE-LABlab(53.22, -38.11, 51.46)
CIE-LCHlch(53.22, 64.03, 126.52°)
OKLaboklab(58.4% -0.1074 0.1132)
OKLCHoklch(58.4% 0.156 133.5)
XYZxyz(13.4049, 21.2503, 4.2594)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538E18 #53188E
analogous
#8E8E18 #538E18 #188E18
triadic
#538E18 #18538E #8E1853
tetradic
#538E18 #188E8E #53188E #8E1818
square
#538E18 #188E8E #53188E #8E1818
split-complementary
#538E18 #18188E #8E188E
monochromatic
#162506 #345A0F #538E18 #72C221 #90DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538E18#FFFFFF#000000##000000
##538E181.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)
#8C7D26
Tritanopia (blue-blind)
#538879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538e18;
/* rgb */ color: rgb(83, 142, 24);
/* oklch */ color: oklch(58.4% 0.156 133.5);
Tailwind
colors: {
  custom: {
    50: '#89af61',
    500: '#538e18',
    950: '#000000',
  },
}
SCSS
$custom: #538e18;
$custom-light: #89af61;
$custom-dark: #000000;
JSON
{
  "hex": "#538e18",
  "rgb": {
    "r": 83,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 90,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58402,
    "c": 0.15603,
    "h": 133.5
  },
  "luminance": 0.21251
}

Semantic roles & 50–950 ramp

primary
#538E18
secondary
#8142C0
accent
#3AEE94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538E18

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

Preview Lab → · Contrast checker → · Palette generator →

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