#538C1C#538C1C

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

Color values

HEX#538C1C
RGBrgb(83, 140, 28)
HSLhsl(91, 67%, 33%)
HSVhsv(91, 80%, 55%)
CMYKcmyk(40.7%, 0%, 80%, 45.1%)
CIE-LABlab(52.60, -37.04, 49.65)
CIE-LCHlch(52.60, 61.95, 126.72°)
OKLaboklab(57.9% -0.1043 0.11)
OKLCHoklch(57.9% 0.152 133.5)
XYZxyz(13.1548, 20.6784, 4.3966)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C1C #551C8C
analogous
#8B8C1C #538C1C #1C8C1D
triadic
#538C1C #1C538C #8C1C53
tetradic
#538C1C #1C8B8C #551C8C #8C1D1C
square
#538C1C #1C8B8C #551C8C #8C1D1C
split-complementary
#538C1C #1D1C8C #8C1C8B
monochromatic
#172608 #355912 #538C1C #71BF26 #90DA48

Accessibility & contrast

On white

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

On black

5.14
#538C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538C1C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538C1C#FFFFFF#000000##000000
##538C1C1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.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: #538c1c;
/* rgb */ color: rgb(83, 140, 28);
/* oklch */ color: oklch(57.9% 0.152 133.5);
Tailwind
colors: {
  custom: {
    50: '#89ae62',
    500: '#538c1c',
    950: '#000000',
  },
}
SCSS
$custom: #538c1c;
$custom-light: #89ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#538c1c",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 90.536,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57895,
    "c": 0.15158,
    "h": 133.5
  },
  "luminance": 0.20679
}

Semantic roles & 50–950 ramp

primary
#538C1C
secondary
#8348BC
accent
#3EEA95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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