#538D2D#538D2D

#538D2D is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.142 H 135.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#538D2D
RGBrgb(83, 141, 45)
HSLhsl(96, 52%, 36%)
HSVhsv(96, 68%, 55%)
CMYKcmyk(41.1%, 0%, 68.1%, 44.7%)
CIE-LABlab(53.03, -36.26, 43.62)
CIE-LCHlch(53.03, 56.72, 129.74°)
OKLaboklab(58.29% -0.1009 0.0999)
OKLCHoklch(58.29% 0.142 135.3)
XYZxyz(13.5655, 21.0775, 5.8357)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D2D #672D8D
analogous
#838D2D #538D2D #2D8D37
triadic
#538D2D #2D538D #8D2D53
tetradic
#538D2D #2D838D #672D8D #8D372D
square
#538D2D #2D838D #672D8D #8D372D
split-complementary
#538D2D #372D8D #8D2D83
monochromatic
#1C300F #385F1E #538D2D #6EBB3C #8FCE66

Accessibility & contrast

On white

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

On black

5.22
#538D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538D2D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538D2D#FFFFFF#000000##000000
##538D2D1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928220
Deuteranopia (green-blind)
#8A7D35
Tritanopia (blue-blind)
#528879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538d2d;
/* rgb */ color: rgb(83, 141, 45);
/* oklch */ color: oklch(58.3% 0.142 135.3);
Tailwind
colors: {
  custom: {
    50: '#88af6b',
    500: '#538d2d',
    950: '#000000',
  },
}
SCSS
$custom: #538d2d;
$custom-light: #88af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#538d2d",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 96.25,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.142,
    "h": 135.3
  },
  "luminance": 0.21078
}

Semantic roles & 50–950 ramp

primary
#538D2D
secondary
#9461B5
accent
#4DDBA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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