#538D2E#538D2E

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

Color values

HEX#538D2E
RGBrgb(83, 141, 46)
HSLhsl(97, 51%, 37%)
HSVhsv(97, 67%, 55%)
CMYKcmyk(41.1%, 0%, 67.4%, 44.7%)
CIE-LABlab(53.04, -36.17, 43.19)
CIE-LCHlch(53.04, 56.34, 129.95°)
OKLaboklab(58.3% -0.1006 0.0991)
OKLCHoklch(58.3% 0.141 135.4)
XYZxyz(13.5850, 21.0853, 5.9383)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D2E #682E8D
analogous
#838D2E #538D2E #2E8D39
triadic
#538D2E #2E538D #8D2E53
tetradic
#538D2E #2E838D #682E8D #8D392E
square
#538D2E #2E838D #682E8D #8D392E
split-complementary
#538D2E #392E8D #8D2E83
monochromatic
#1D3110 #385F1F #538D2E #6EBB3D #8FCE68

Accessibility & contrast

On white

4.03
#538D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##538D2E#FFFFFF#000000##000000
##538D2E1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928221
Deuteranopia (green-blind)
#8A7D36
Tritanopia (blue-blind)
#518879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538d2e;
/* rgb */ color: rgb(83, 141, 46);
/* oklch */ color: oklch(58.3% 0.141 135.4);
Tailwind
colors: {
  custom: {
    50: '#88af6c',
    500: '#538d2e',
    950: '#000000',
  },
}
SCSS
$custom: #538d2e;
$custom-light: #88af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#538d2e",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 96.632,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58301,
    "c": 0.14123,
    "h": 135.4
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#538D2E
secondary
#9462B5
accent
#4EDAA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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