#538D28#538D28

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

Color values

HEX#538D28
RGBrgb(83, 141, 40)
HSLhsl(94, 56%, 35%)
HSVhsv(94, 72%, 55%)
CMYKcmyk(41.1%, 0%, 71.6%, 44.7%)
CIE-LABlab(52.99, -36.68, 45.66)
CIE-LCHlch(52.99, 58.57, 128.77°)
OKLaboklab(58.25% -0.1024 0.1035)
OKLCHoklch(58.25% 0.146 134.7)
XYZxyz(13.4749, 21.0413, 5.3584)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D28 #62288D
analogous
#858D28 #538D28 #288D2F
triadic
#538D28 #28538D #8D2853
tetradic
#538D28 #28858D #62288D #8D2F28
square
#538D28 #28858D #62288D #8D2F28
split-complementary
#538D28 #2F288D #8D2885
monochromatic
#1B2E0D #375D1A #538D28 #6FBD36 #8FD15E

Accessibility & contrast

On white

4.03
#538D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#538D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538D28
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538D28#FFFFFF#000000##000000
##538D281.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928218
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#528879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d28;
/* rgb */ color: rgb(83, 141, 40);
/* oklch */ color: oklch(58.2% 0.146 134.7);
Tailwind
colors: {
  custom: {
    50: '#88af68',
    500: '#538d28',
    950: '#000000',
  },
}
SCSS
$custom: #538d28;
$custom-light: #88af68;
$custom-dark: #000000;
JSON
{
  "hex": "#538d28",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 94.455,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58246,
    "c": 0.14561,
    "h": 134.7
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#538D28
secondary
#8F5AB7
accent
#49DF9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538D28

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

Preview Lab → · Contrast checker → · Palette generator →

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