#538C1D#538C1D

#538C1D is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.151 H 133.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#538C1D
RGBrgb(83, 140, 29)
HSLhsl(91, 66%, 33%)
HSVhsv(91, 79%, 55%)
CMYKcmyk(40.7%, 0%, 79.3%, 45.1%)
CIE-LABlab(52.60, -36.98, 49.33)
CIE-LCHlch(52.60, 61.65, 126.86°)
OKLaboklab(57.9% -0.104 0.1095)
OKLCHoklch(57.9% 0.151 133.5)
XYZxyz(13.1669, 20.6832, 4.4606)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C1D #561D8C
analogous
#8A8C1D #538C1D #1D8C1F
triadic
#538C1D #1D538C #8C1D53
tetradic
#538C1D #1D8A8C #561D8C #8C1F1D
square
#538C1D #1D8A8C #561D8C #8C1F1D
split-complementary
#538C1D #1F1D8C #8C1D8A
monochromatic
#172708 #355912 #538C1D #71BF28 #90D94A

Accessibility & contrast

On white

4.09
#538C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#538C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538C1D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538C1D#FFFFFF#000000##000000
##538C1D1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#538677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538c1d;
/* rgb */ color: rgb(83, 140, 29);
/* oklch */ color: oklch(57.9% 0.151 133.5);
Tailwind
colors: {
  custom: {
    50: '#89ae63',
    500: '#538c1d',
    950: '#000000',
  },
}
SCSS
$custom: #538c1d;
$custom-light: #89ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#538c1d",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 90.811,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57902,
    "c": 0.15105,
    "h": 133.5
  },
  "luminance": 0.20684
}

Semantic roles & 50–950 ramp

primary
#538C1D
secondary
#8449BC
accent
#3FE996
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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