#538E23#538E23

#538E23 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.150 H 134.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#538E23
RGBrgb(83, 142, 35)
HSLhsl(93, 60%, 35%)
HSVhsv(93, 75%, 56%)
CMYKcmyk(41.5%, 0%, 75.4%, 44.3%)
CIE-LABlab(53.28, -37.47, 47.89)
CIE-LCHlch(53.28, 60.81, 128.05°)
OKLaboklab(58.47% -0.105 0.1074)
OKLCHoklch(58.47% 0.15 134.3)
XYZxyz(13.5434, 21.3056, 4.9886)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538E23 #5E238E
analogous
#898E23 #538E23 #238E28
triadic
#538E23 #23538E #8E2353
tetradic
#538E23 #23898E #5E238E #8E2823
square
#538E23 #23898E #5E238E #8E2823
split-complementary
#538E23 #28238E #8E2389
monochromatic
#1A2C0B #365D17 #538E23 #70BF2F #8FD556

Accessibility & contrast

On white

3.99
#538E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#538E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538E23
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538E23#FFFFFF#000000##000000
##538E231.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820E
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#528879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538e23;
/* rgb */ color: rgb(83, 142, 35);
/* oklch */ color: oklch(58.5% 0.150 134.3);
Tailwind
colors: {
  custom: {
    50: '#89af66',
    500: '#538e23',
    950: '#000000',
  },
}
SCSS
$custom: #538e23;
$custom-light: #89af66;
$custom-dark: #000000;
JSON
{
  "hex": "#538e23",
  "rgb": {
    "r": 83,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 93.084,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58471,
    "c": 0.15018,
    "h": 134.3
  },
  "luminance": 0.21306
}

Semantic roles & 50–950 ramp

primary
#538E23
secondary
#8C53B9
accent
#44E49C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538E23

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

Preview Lab → · Contrast checker → · Palette generator →

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