#538F1D#538F1D

#538F1D is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.155 H 134.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#538F1D
RGBrgb(83, 143, 29)
HSLhsl(92, 66%, 34%)
HSVhsv(92, 80%, 56%)
CMYKcmyk(42%, 0%, 79.7%, 43.9%)
CIE-LABlab(53.57, -38.28, 50.25)
CIE-LCHlch(53.57, 63.17, 127.30°)
OKLaboklab(58.7% -0.1075 0.1114)
OKLCHoklch(58.7% 0.155 134)
XYZxyz(13.6113, 21.5719, 4.6088)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F1D #591D8F
analogous
#8C8F1D #538F1D #1D8F20
triadic
#538F1D #1D538F #8F1D53
tetradic
#538F1D #1D8C8F #591D8F #8F201D
square
#538F1D #1D8C8F #591D8F #8F201D
split-complementary
#538F1D #201D8F #8F1D8C
monochromatic
#182908 #355C13 #538F1D #71C227 #8FDB4C

Accessibility & contrast

On white

3.95
#538F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#538F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F1D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F1D#FFFFFF#000000##000000
##538F1D1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#52897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f1d;
/* rgb */ color: rgb(83, 143, 29);
/* oklch */ color: oklch(58.7% 0.155 134.0);
Tailwind
colors: {
  custom: {
    50: '#89b063',
    500: '#538f1d',
    950: '#000000',
  },
}
SCSS
$custom: #538f1d;
$custom-light: #89b063;
$custom-dark: #000000;
JSON
{
  "hex": "#538f1d",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 91.579,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58695,
    "c": 0.15486,
    "h": 134
  },
  "luminance": 0.21573
}

Semantic roles & 50–950 ramp

primary
#538F1D
secondary
#874BBD
accent
#3FE998
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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