#538D19#538D19

#538D19 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.154 H 133.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#538D19
RGBrgb(83, 141, 25)
HSLhsl(90, 70%, 33%)
HSVhsv(90, 82%, 55%)
CMYKcmyk(41.1%, 0%, 82.3%, 44.7%)
CIE-LABlab(52.90, -37.63, 50.87)
CIE-LCHlch(52.90, 63.28, 126.49°)
OKLaboklab(58.14% -0.1061 0.1121)
OKLCHoklch(58.14% 0.154 133.4)
XYZxyz(13.2674, 20.9583, 4.2658)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D19 #53198D
analogous
#8D8D19 #538D19 #198D19
triadic
#538D19 #19538D #8D1953
tetradic
#538D19 #198D8D #53198D #8D1919
square
#538D19 #198D8D #53198D #8D1919
split-complementary
#538D19 #19198D #8D198D
monochromatic
#162507 #345910 #538D19 #72C122 #90DE43

Accessibility & contrast

On white

4.04
#538D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#538D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538D19
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538D19#FFFFFF#000000##000000
##538D191.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#538778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d19;
/* rgb */ color: rgb(83, 141, 25);
/* oklch */ color: oklch(58.1% 0.154 133.4);
Tailwind
colors: {
  custom: {
    50: '#89af61',
    500: '#538d19',
    950: '#000000',
  },
}
SCSS
$custom: #538d19;
$custom-light: #89af61;
$custom-dark: #000000;
JSON
{
  "hex": "#538d19",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 90,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58143,
    "c": 0.15432,
    "h": 133.4
  },
  "luminance": 0.20959
}

Semantic roles & 50–950 ramp

primary
#538D19
secondary
#8143BF
accent
#3BED94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538D19

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

Preview Lab → · Contrast checker → · Palette generator →

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