#538C2D#538C2D

#538C2D is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.141 H 135.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#538C2D
RGBrgb(83, 140, 45)
HSLhsl(96, 51%, 36%)
HSVhsv(96, 68%, 55%)
CMYKcmyk(40.7%, 0%, 67.9%, 45.1%)
CIE-LABlab(52.71, -35.82, 43.27)
CIE-LCHlch(52.71, 56.18, 129.62°)
OKLaboklab(58.03% -0.0997 0.0992)
OKLCHoklch(58.03% 0.141 135.2)
XYZxyz(13.4187, 20.7839, 5.7868)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C2D #662D8C
analogous
#838C2D #538C2D #2D8C37
triadic
#538C2D #2D538C #8C2D53
tetradic
#538C2D #2D838C #662D8C #8C372D
square
#538C2D #2D838C #662D8C #8C372D
split-complementary
#538C2D #372D8C #8C2D83
monochromatic
#1C2F0F #385E1E #538C2D #6EBA3C #8FCE66

Accessibility & contrast

On white

4.07
#538C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#538C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538C2D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538C2D#FFFFFF#000000##000000
##538C2D1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#528779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538c2d;
/* rgb */ color: rgb(83, 140, 45);
/* oklch */ color: oklch(58.0% 0.141 135.2);
Tailwind
colors: {
  custom: {
    50: '#88ae6b',
    500: '#538c2d',
    950: '#000000',
  },
}
SCSS
$custom: #538c2d;
$custom-light: #88ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#538c2d",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 96,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58028,
    "c": 0.14063,
    "h": 135.2
  },
  "luminance": 0.20785
}

Semantic roles & 50–950 ramp

primary
#538C2D
secondary
#9360B4
accent
#4DDBA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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