#538C1B#538C1B

#538C1B is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.152 H 133.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#538C1B
RGBrgb(83, 140, 27)
HSLhsl(90, 68%, 33%)
HSVhsv(90, 81%, 55%)
CMYKcmyk(40.7%, 0%, 80.7%, 45.1%)
CIE-LABlab(52.59, -37.09, 49.97)
CIE-LCHlch(52.59, 62.23, 126.59°)
OKLaboklab(57.89% -0.1045 0.1105)
OKLCHoklch(57.89% 0.152 133.4)
XYZxyz(13.1430, 20.6736, 4.3346)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C1B #541B8C
analogous
#8C8C1B #538C1B #1B8C1B
triadic
#538C1B #1B538C #8C1B53
tetradic
#538C1B #1B8C8C #541B8C #8C1B1B
square
#538C1B #1B8C8C #541B8C #8C1B1B
split-complementary
#538C1B #1B1B8C #8C1B8C
monochromatic
#162507 #355911 #538C1B #71BF25 #90DB46

Accessibility & contrast

On white

4.09
#538C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#538C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538C1B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538C1B#FFFFFF#000000##000000
##538C1B1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#538677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538c1b;
/* rgb */ color: rgb(83, 140, 27);
/* oklch */ color: oklch(57.9% 0.152 133.4);
Tailwind
colors: {
  custom: {
    50: '#89ae62',
    500: '#538c1b',
    950: '#000000',
  },
}
SCSS
$custom: #538c1b;
$custom-light: #89ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#538c1b",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 90.265,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5789,
    "c": 0.15209,
    "h": 133.4
  },
  "luminance": 0.20674
}

Semantic roles & 50–950 ramp

primary
#538C1B
secondary
#8246BD
accent
#3DEB95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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