#538B2D#538B2D

#538B2D is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.8% C 0.139 H 135.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#538B2D
RGBrgb(83, 139, 45)
HSLhsl(96, 51%, 36%)
HSVhsv(96, 68%, 55%)
CMYKcmyk(40.3%, 0%, 67.6%, 45.5%)
CIE-LABlab(52.39, -35.38, 42.93)
CIE-LCHlch(52.39, 55.63, 129.49°)
OKLaboklab(57.77% -0.0985 0.0985)
OKLCHoklch(57.77% 0.139 135)
XYZxyz(13.2733, 20.4930, 5.7383)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538B2D #652D8B
analogous
#828B2D #538B2D #2D8B36
triadic
#538B2D #2D538B #8B2D53
tetradic
#538B2D #2D828B #652D8B #8B362D
square
#538B2D #2D828B #652D8B #8B362D
split-complementary
#538B2D #362D8B #8B2D82
monochromatic
#1C2F0F #375D1E #538B2D #6FB93C #8FCD65

Accessibility & contrast

On white

4.12
#538B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#538B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538B2D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538B2D#FFFFFF#000000##000000
##538B2D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908021
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#528678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538b2d;
/* rgb */ color: rgb(83, 139, 45);
/* oklch */ color: oklch(57.8% 0.139 135.0);
Tailwind
colors: {
  custom: {
    50: '#88ad6b',
    500: '#538b2d',
    950: '#000000',
  },
}
SCSS
$custom: #538b2d;
$custom-light: #88ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#538b2d",
  "rgb": {
    "r": 83,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 95.745,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57765,
    "c": 0.13926,
    "h": 135
  },
  "luminance": 0.20494
}

Semantic roles & 50–950 ramp

primary
#538B2D
secondary
#9260B4
accent
#4DDBA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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