#538A1B#538A1B

#538A1B is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.4% C 0.150 H 133.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#538A1B
RGBrgb(83, 138, 27)
HSLhsl(90, 67%, 32%)
HSVhsv(90, 80%, 54%)
CMYKcmyk(39.9%, 0%, 80.4%, 45.9%)
CIE-LABlab(51.94, -36.22, 49.36)
CIE-LCHlch(51.94, 61.23, 126.27°)
OKLaboklab(57.36% -0.1021 0.1093)
OKLCHoklch(57.36% 0.15 133.1)
XYZxyz(12.8534, 20.0945, 4.2381)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538A1B #521B8A
analogous
#8A8A1B #538A1B #1B8A1B
triadic
#538A1B #1B538A #8A1B53
tetradic
#538A1B #1B8A8A #521B8A #8A1B1B
square
#538A1B #1B8A8A #521B8A #8A1B1B
split-complementary
#538A1B #1B1B8A #8A1B8A
monochromatic
#152407 #345711 #538A1B #72BD25 #90DB45

Accessibility & contrast

On white

4.18
#538A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#538A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538A1B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538A1B#FFFFFF#000000##000000
##538A1B1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#538475
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #538a1b;
/* rgb */ color: rgb(83, 138, 27);
/* oklch */ color: oklch(57.4% 0.150 133.1);
Tailwind
colors: {
  custom: {
    50: '#89ac61',
    500: '#538a1b',
    950: '#000000',
  },
}
SCSS
$custom: #538a1b;
$custom-light: #89ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#538a1b",
  "rgb": {
    "r": 83,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 89.73,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5736,
    "c": 0.14955,
    "h": 133.1
  },
  "luminance": 0.20095
}

Semantic roles & 50–950 ramp

primary
#538A1B
secondary
#8045BC
accent
#3EEA93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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