#538D31#538D31

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

Color values

HEX#538D31
RGBrgb(83, 141, 49)
HSLhsl(98, 48%, 37%)
HSVhsv(98, 65%, 55%)
CMYKcmyk(41.1%, 0%, 65.2%, 44.7%)
CIE-LABlab(53.07, -35.90, 41.89)
CIE-LCHlch(53.07, 55.17, 130.59°)
OKLaboklab(58.33% -0.0996 0.0968)
OKLCHoklch(58.33% 0.139 135.8)
XYZxyz(13.6462, 21.1098, 6.2607)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D31 #6B318D
analogous
#818D31 #538D31 #318D3D
triadic
#538D31 #31538D #8D3153
tetradic
#538D31 #31818D #6B318D #8D3D31
square
#538D31 #31818D #6B318D #8D3D31
split-complementary
#538D31 #3D318D #8D3181
monochromatic
#1E3211 #386021 #538D31 #6EBA41 #90CC6C

Accessibility & contrast

On white

4.02
#538D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##538D31#FFFFFF#000000##000000
##538D311.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928226
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#51887A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538d31;
/* rgb */ color: rgb(83, 141, 49);
/* oklch */ color: oklch(58.3% 0.139 135.8);
Tailwind
colors: {
  custom: {
    50: '#88af6d',
    500: '#538d31',
    950: '#000000',
  },
}
SCSS
$custom: #538d31;
$custom-light: #88af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#538d31",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 97.826,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58332,
    "c": 0.13887,
    "h": 135.8
  },
  "luminance": 0.21111
}

Semantic roles & 50–950 ramp

primary
#538D31
secondary
#9766B4
accent
#50D8A6
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538D31

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

Preview Lab → · Contrast checker → · Palette generator →

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