#538D2F#538D2F

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

Color values

HEX#538D2F
RGBrgb(83, 141, 47)
HSLhsl(97, 50%, 37%)
HSVhsv(97, 67%, 55%)
CMYKcmyk(41.1%, 0%, 66.7%, 44.7%)
CIE-LABlab(53.05, -36.09, 42.76)
CIE-LCHlch(53.05, 55.95, 130.16°)
OKLaboklab(58.31% -0.1003 0.0984)
OKLCHoklch(58.31% 0.14 135.6)
XYZxyz(13.6049, 21.0933, 6.0433)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D2F #692F8D
analogous
#828D2F #538D2F #2F8D3A
triadic
#538D2F #2F538D #8D2F53
tetradic
#538D2F #2F828D #692F8D #8D3A2F
square
#538D2F #2F828D #692F8D #8D3A2F
split-complementary
#538D2F #3A2F8D #8D2F82
monochromatic
#1D3110 #385F20 #538D2F #6EBB3E #90CD69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538D2F#FFFFFF#000000##000000
##538D2F1.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)
#928223
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#51887A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538d2f;
/* rgb */ color: rgb(83, 141, 47);
/* oklch */ color: oklch(58.3% 0.140 135.6);
Tailwind
colors: {
  custom: {
    50: '#88af6c',
    500: '#538d2f',
    950: '#000000',
  },
}
SCSS
$custom: #538d2f;
$custom-light: #88af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#538d2f",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 97.021,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.14045,
    "h": 135.6
  },
  "luminance": 0.21094
}

Semantic roles & 50–950 ramp

primary
#538D2F
secondary
#9564B4
accent
#4EDAA4
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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