#538B2A#538B2A

#538B2A is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.142 H 134.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#538B2A
RGBrgb(83, 139, 42)
HSLhsl(95, 54%, 35%)
HSVhsv(95, 70%, 55%)
CMYKcmyk(40.3%, 0%, 69.8%, 45.5%)
CIE-LABlab(52.37, -35.63, 44.19)
CIE-LCHlch(52.37, 56.77, 128.88°)
OKLaboklab(57.74% -0.0994 0.1007)
OKLCHoklch(57.74% 0.142 134.6)
XYZxyz(13.2175, 20.4707, 5.4448)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538B2A #622A8B
analogous
#838B2A #538B2A #2A8B31
triadic
#538B2A #2A538B #8B2A53
tetradic
#538B2A #2A838B #622A8B #8B312A
square
#538B2A #2A838B #622A8B #8B312A
split-complementary
#538B2A #312A8B #8B2A83
monochromatic
#1B2D0E #375C1C #538B2A #6FBA38 #8FCF60

Accessibility & contrast

On white

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

On black

5.09
#538B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538B2A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538B2A#FFFFFF#000000##000000
##538B2A1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#897B32
Tritanopia (blue-blind)
#528677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538b2a;
/* rgb */ color: rgb(83, 139, 42);
/* oklch */ color: oklch(57.7% 0.142 134.6);
Tailwind
colors: {
  custom: {
    50: '#88ad69',
    500: '#538b2a',
    950: '#000000',
  },
}
SCSS
$custom: #538b2a;
$custom-light: #88ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#538b2a",
  "rgb": {
    "r": 83,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 94.639,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57737,
    "c": 0.14151,
    "h": 134.6
  },
  "luminance": 0.20471
}

Semantic roles & 50–950 ramp

primary
#538B2A
secondary
#8F5CB5
accent
#4BDD9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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