#538B23#538B23

#538B23 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.7% C 0.146 H 133.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#538B23
RGBrgb(83, 139, 35)
HSLhsl(92, 60%, 34%)
HSVhsv(92, 75%, 55%)
CMYKcmyk(40.3%, 0%, 74.8%, 45.5%)
CIE-LABlab(52.31, -36.16, 46.93)
CIE-LCHlch(52.31, 59.24, 127.62°)
OKLaboklab(57.68% -0.1014 0.1054)
OKLCHoklch(57.68% 0.146 133.9)
XYZxyz(13.1030, 20.4249, 4.8418)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538B23 #5B238B
analogous
#878B23 #538B23 #238B27
triadic
#538B23 #23538B #8B2353
tetradic
#538B23 #23878B #5B238B #8B2723
square
#538B23 #23878B #5B238B #8B2723
split-complementary
#538B23 #27238B #8B2387
monochromatic
#19290A #365A17 #538B23 #70BC2F #8FD454

Accessibility & contrast

On white

4.13
#538B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#538B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538B23
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538B23#FFFFFF#000000##000000
##538B231.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#538577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538b23;
/* rgb */ color: rgb(83, 139, 35);
/* oklch */ color: oklch(57.7% 0.146 133.9);
Tailwind
colors: {
  custom: {
    50: '#88ad65',
    500: '#538b23',
    950: '#000000',
  },
}
SCSS
$custom: #538b23;
$custom-light: #88ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#538b23",
  "rgb": {
    "r": 83,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 92.308,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57679,
    "c": 0.14627,
    "h": 133.9
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#538B23
secondary
#8952B8
accent
#45E39A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538B23

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

Preview Lab → · Contrast checker → · Palette generator →

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