#538B1D#538B1D

#538B1D is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.150 H 133.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#538B1D
RGBrgb(83, 139, 29)
HSLhsl(91, 65%, 33%)
HSVhsv(91, 79%, 55%)
CMYKcmyk(40.3%, 0%, 79.1%, 45.5%)
CIE-LABlab(52.28, -36.54, 49.02)
CIE-LCHlch(52.28, 61.15, 126.70°)
OKLaboklab(57.64% -0.1029 0.1089)
OKLCHoklch(57.64% 0.15 133.4)
XYZxyz(13.0215, 20.3923, 4.4122)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538B1D #551D8B
analogous
#8A8B1D #538B1D #1D8B1E
triadic
#538B1D #1D538B #8B1D53
tetradic
#538B1D #1D8A8B #551D8B #8B1E1D
square
#538B1D #1D8A8B #551D8B #8B1E1D
split-complementary
#538B1D #1E1D8B #8B1D8A
monochromatic
#172608 #355812 #538B1D #71BE28 #90D949

Accessibility & contrast

On white

4.13
#538B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#538B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538B1D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538B1D#FFFFFF#000000##000000
##538B1D1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918001
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#538576
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538b1d;
/* rgb */ color: rgb(83, 139, 29);
/* oklch */ color: oklch(57.6% 0.150 133.4);
Tailwind
colors: {
  custom: {
    50: '#89ad62',
    500: '#538b1d',
    950: '#000000',
  },
}
SCSS
$custom: #538b1d;
$custom-light: #89ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#538b1d",
  "rgb": {
    "r": 83,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 90.545,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57637,
    "c": 0.14978,
    "h": 133.4
  },
  "luminance": 0.20393
}

Semantic roles & 50–950 ramp

primary
#538B1D
secondary
#8349BB
accent
#3FE895
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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