#538A2A#538A2A

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

Color values

HEX#538A2A
RGBrgb(83, 138, 42)
HSLhsl(94, 53%, 35%)
HSVhsv(94, 70%, 54%)
CMYKcmyk(39.9%, 0%, 69.6%, 45.9%)
CIE-LABlab(52.04, -35.19, 43.85)
CIE-LCHlch(52.04, 56.22, 128.75°)
OKLaboklab(57.47% -0.0982 0.1)
OKLCHoklch(57.47% 0.14 134.5)
XYZxyz(13.0734, 20.1825, 5.3968)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538A2A #612A8A
analogous
#838A2A #538A2A #2A8A31
triadic
#538A2A #2A538A #8A2A53
tetradic
#538A2A #2A838A #612A8A #8A312A
square
#538A2A #2A838A #612A8A #8A312A
split-complementary
#538A2A #312A8A #8A2A83
monochromatic
#1B2C0D #375B1C #538A2A #6FB938 #8FCF60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538A2A#FFFFFF#000000##000000
##538A2A1.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)
#8F7F1C
Deuteranopia (green-blind)
#887A32
Tritanopia (blue-blind)
#528577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #538a2a;
/* rgb */ color: rgb(83, 138, 42);
/* oklch */ color: oklch(57.5% 0.140 134.5);
Tailwind
colors: {
  custom: {
    50: '#88ac69',
    500: '#538a2a',
    950: '#000000',
  },
}
SCSS
$custom: #538a2a;
$custom-light: #88ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#538a2a",
  "rgb": {
    "r": 83,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 94.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.14015,
    "h": 134.5
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #538A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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