#538F23#538F23

#538F23 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.151 H 134.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#538F23
RGBrgb(83, 143, 35)
HSLhsl(93, 61%, 35%)
HSVhsv(93, 76%, 56%)
CMYKcmyk(42%, 0%, 75.5%, 43.9%)
CIE-LABlab(53.60, -37.91, 48.21)
CIE-LCHlch(53.60, 61.33, 128.18°)
OKLaboklab(58.74% -0.1061 0.1081)
OKLCHoklch(58.74% 0.151 134.5)
XYZxyz(13.6928, 21.6045, 5.0384)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F23 #5F238F
analogous
#898F23 #538F23 #238F29
triadic
#538F23 #23538F #8F2353
tetradic
#538F23 #23898F #5F238F #8F2923
square
#538F23 #23898F #5F238F #8F2923
split-complementary
#538F23 #29238F #8F2389
monochromatic
#1A2D0B #365E17 #538F23 #70C02F #8FD657

Accessibility & contrast

On white

3.95
#538F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#538F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F23
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F23#FFFFFF#000000##000000
##538F231.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#8D7E2E
Tritanopia (blue-blind)
#52897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f23;
/* rgb */ color: rgb(83, 143, 35);
/* oklch */ color: oklch(58.7% 0.151 134.5);
Tailwind
colors: {
  custom: {
    50: '#89b066',
    500: '#538f23',
    950: '#000000',
  },
}
SCSS
$custom: #538f23;
$custom-light: #89b066;
$custom-dark: #000000;
JSON
{
  "hex": "#538f23",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 93.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58735,
    "c": 0.15148,
    "h": 134.5
  },
  "luminance": 0.21605
}

Semantic roles & 50–950 ramp

primary
#538F23
secondary
#8D54BA
accent
#44E49D
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538F23

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

Preview Lab → · Contrast checker → · Palette generator →

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