#538D23#538D23

#538D23 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.149 H 134.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#538D23
RGBrgb(83, 141, 35)
HSLhsl(93, 60%, 35%)
HSVhsv(93, 75%, 55%)
CMYKcmyk(41.1%, 0%, 75.2%, 44.7%)
CIE-LABlab(52.96, -37.04, 47.57)
CIE-LCHlch(52.96, 60.29, 127.91°)
OKLaboklab(58.21% -0.1038 0.1068)
OKLCHoklch(58.21% 0.149 134.2)
XYZxyz(13.3953, 21.0094, 4.9392)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D23 #5D238D
analogous
#888D23 #538D23 #238D28
triadic
#538D23 #23538D #8D2353
tetradic
#538D23 #23888D #5D238D #8D2823
square
#538D23 #23888D #5D238D #8D2823
split-complementary
#538D23 #28238D #8D2388
monochromatic
#192B0B #365C17 #538D23 #70BE2F #8FD555

Accessibility & contrast

On white

4.04
#538D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#538D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538D23
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538D23#FFFFFF#000000##000000
##538D231.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810E
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#528779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d23;
/* rgb */ color: rgb(83, 141, 35);
/* oklch */ color: oklch(58.2% 0.149 134.2);
Tailwind
colors: {
  custom: {
    50: '#88af66',
    500: '#538d23',
    950: '#000000',
  },
}
SCSS
$custom: #538d23;
$custom-light: #88af66;
$custom-dark: #000000;
JSON
{
  "hex": "#538d23",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 92.83,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58207,
    "c": 0.14888,
    "h": 134.2
  },
  "luminance": 0.2101
}

Semantic roles & 50–950 ramp

primary
#538D23
secondary
#8B53B9
accent
#44E39B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538D23

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

Preview Lab → · Contrast checker → · Palette generator →

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