#538A2D#538A2D

#538A2D is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.5% C 0.138 H 134.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#538A2D
RGBrgb(83, 138, 45)
HSLhsl(95, 51%, 36%)
HSVhsv(95, 67%, 54%)
CMYKcmyk(39.9%, 0%, 67.4%, 45.9%)
CIE-LABlab(52.07, -34.93, 42.58)
CIE-LCHlch(52.07, 55.08, 129.36°)
OKLaboklab(57.5% -0.0973 0.0977)
OKLCHoklch(57.5% 0.138 134.9)
XYZxyz(13.1291, 20.2048, 5.6902)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538A2D #642D8A
analogous
#818A2D #538A2D #2D8A35
triadic
#538A2D #2D538A #8A2D53
tetradic
#538A2D #2D818A #642D8A #8A352D
square
#538A2D #2D818A #642D8A #8A352D
split-complementary
#538A2D #352D8A #8A2D81
monochromatic
#1B2E0F #375C1E #538A2D #6FB83C #8FCD65

Accessibility & contrast

On white

4.17
#538A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#538A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538A2D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538A2D#FFFFFF#000000##000000
##538A2D1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#528577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #538a2d;
/* rgb */ color: rgb(83, 138, 45);
/* oklch */ color: oklch(57.5% 0.138 134.9);
Tailwind
colors: {
  custom: {
    50: '#88ac6b',
    500: '#538a2d',
    950: '#000000',
  },
}
SCSS
$custom: #538a2d;
$custom-light: #88ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#538a2d",
  "rgb": {
    "r": 83,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 95.484,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.13789,
    "h": 134.9
  },
  "luminance": 0.20205
}

Semantic roles & 50–950 ramp

primary
#538A2D
secondary
#9160B3
accent
#4DDAA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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