#538A23#538A23

#538A23 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.4% C 0.145 H 133.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#538A23
RGBrgb(83, 138, 35)
HSLhsl(92, 60%, 34%)
HSVhsv(92, 75%, 54%)
CMYKcmyk(39.9%, 0%, 74.6%, 45.9%)
CIE-LABlab(51.99, -35.72, 46.61)
CIE-LCHlch(51.99, 58.72, 127.47°)
OKLaboklab(57.41% -0.1002 0.1047)
OKLCHoklch(57.41% 0.145 133.7)
XYZxyz(12.9589, 20.1367, 4.7937)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538A23 #5A238A
analogous
#878A23 #538A23 #238A27
triadic
#538A23 #23538A #8A2353
tetradic
#538A23 #23878A #5A238A #8A2723
square
#538A23 #23878A #5A238A #8A2723
split-complementary
#538A23 #27238A #8A2387
monochromatic
#18280A #365917 #538A23 #70BB2F #8FD454

Accessibility & contrast

On white

4.18
#538A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#538A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538A23
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538A23#FFFFFF#000000##000000
##538A231.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F10
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#538476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #538a23;
/* rgb */ color: rgb(83, 138, 35);
/* oklch */ color: oklch(57.4% 0.145 133.7);
Tailwind
colors: {
  custom: {
    50: '#88ac65',
    500: '#538a23',
    950: '#000000',
  },
}
SCSS
$custom: #538a23;
$custom-light: #88ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#538a23",
  "rgb": {
    "r": 83,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 92.039,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57414,
    "c": 0.14496,
    "h": 133.7
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#538A23
secondary
#8851B7
accent
#45E399
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538A23

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

Preview Lab → · Contrast checker → · Palette generator →

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