#538C23#538C23

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

Color values

HEX#538C23
RGBrgb(83, 140, 35)
HSLhsl(93, 60%, 34%)
HSVhsv(93, 75%, 55%)
CMYKcmyk(40.7%, 0%, 75%, 45.1%)
CIE-LABlab(52.64, -36.60, 47.25)
CIE-LCHlch(52.64, 59.77, 127.77°)
OKLaboklab(57.94% -0.1026 0.1061)
OKLCHoklch(57.94% 0.148 134)
XYZxyz(13.2485, 20.7159, 4.8903)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C23 #5C238C
analogous
#888C23 #538C23 #238C27
triadic
#538C23 #23538C #8C2353
tetradic
#538C23 #23888C #5C238C #8C2723
square
#538C23 #23888C #5C238C #8C2723
split-complementary
#538C23 #27238C #8C2388
monochromatic
#192A0B #365B17 #538C23 #70BD2F #8FD455

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538C23#FFFFFF#000000##000000
##538C231.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)
#92810F
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#538678
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538c23;
/* rgb */ color: rgb(83, 140, 35);
/* oklch */ color: oklch(57.9% 0.148 134.0);
Tailwind
colors: {
  custom: {
    50: '#88ae65',
    500: '#538c23',
    950: '#000000',
  },
}
SCSS
$custom: #538c23;
$custom-light: #88ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#538c23",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 92.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57943,
    "c": 0.14758,
    "h": 134
  },
  "luminance": 0.20717
}

Semantic roles & 50–950 ramp

primary
#538C23
secondary
#8A52B8
accent
#45E39B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538C23

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

Preview Lab → · Contrast checker → · Palette generator →

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