#538F1A#538F1A

#538F1A is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.156 H 133.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#538F1A
RGBrgb(83, 143, 26)
HSLhsl(91, 69%, 33%)
HSVhsv(91, 82%, 56%)
CMYKcmyk(42%, 0%, 81.8%, 43.9%)
CIE-LABlab(53.55, -38.44, 51.17)
CIE-LCHlch(53.55, 64.00, 126.91°)
OKLaboklab(58.68% -0.1082 0.1129)
OKLCHoklch(58.68% 0.156 133.8)
XYZxyz(13.5760, 21.5578, 4.4228)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F1A #561A8F
analogous
#8D8F1A #538F1A #1A8F1B
triadic
#538F1A #1A538F #8F1A53
tetradic
#538F1A #1A8D8F #561A8F #8F1B1A
square
#538F1A #1A8D8F #561A8F #8F1B1A
split-complementary
#538F1A #1B1A8F #8F1A8D
monochromatic
#172707 #355B11 #538F1A #71C323 #90DD46

Accessibility & contrast

On white

3.95
#538F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#538F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F1A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F1A#FFFFFF#000000##000000
##538F1A1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#53897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f1a;
/* rgb */ color: rgb(83, 143, 26);
/* oklch */ color: oklch(58.7% 0.156 133.8);
Tailwind
colors: {
  custom: {
    50: '#89b062',
    500: '#538f1a',
    950: '#000000',
  },
}
SCSS
$custom: #538f1a;
$custom-light: #89b062;
$custom-dark: #000000;
JSON
{
  "hex": "#538f1a",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 90.769,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58678,
    "c": 0.15635,
    "h": 133.8
  },
  "luminance": 0.21559
}

Semantic roles & 50–950 ramp

primary
#538F1A
secondary
#8446BF
accent
#3CEC96
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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