#538D1A#538D1A

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

Color values

HEX#538D1A
RGBrgb(83, 141, 26)
HSLhsl(90, 69%, 33%)
HSVhsv(90, 82%, 55%)
CMYKcmyk(41.1%, 0%, 81.6%, 44.7%)
CIE-LABlab(52.91, -37.58, 50.58)
CIE-LCHlch(52.91, 63.01, 126.61°)
OKLaboklab(58.15% -0.1059 0.1116)
OKLCHoklch(58.15% 0.154 133.5)
XYZxyz(13.2784, 20.9627, 4.3236)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D1A #541A8D
analogous
#8C8D1A #538D1A #1A8D1B
triadic
#538D1A #1A538D #8D1A53
tetradic
#538D1A #1A8C8D #541A8D #8D1B1A
square
#538D1A #1A8C8D #541A8D #8D1B1A
split-complementary
#538D1A #1B1A8D #8D1A8C
monochromatic
#162607 #355910 #538D1A #71C124 #90DD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538D1A#FFFFFF#000000##000000
##538D1A1.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: #538d1a;
/* rgb */ color: rgb(83, 141, 26);
/* oklch */ color: oklch(58.1% 0.154 133.5);
Tailwind
colors: {
  custom: {
    50: '#89af61',
    500: '#538d1a',
    950: '#000000',
  },
}
SCSS
$custom: #538d1a;
$custom-light: #89af61;
$custom-dark: #000000;
JSON
{
  "hex": "#538d1a",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 90.261,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58148,
    "c": 0.15385,
    "h": 133.5
  },
  "luminance": 0.20963
}

Semantic roles & 50–950 ramp

primary
#538D1A
secondary
#8245BE
accent
#3CEC95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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