#538F15#538F15

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

Color values

HEX#538F15
RGBrgb(83, 143, 21)
HSLhsl(90, 74%, 32%)
HSVhsv(90, 85%, 56%)
CMYKcmyk(42%, 0%, 85.3%, 43.9%)
CIE-LABlab(53.53, -38.67, 52.56)
CIE-LCHlch(53.53, 65.25, 126.35°)
OKLaboklab(58.65% -0.1091 0.115)
OKLCHoklch(58.65% 0.159 133.5)
XYZxyz(13.5249, 21.5374, 4.1538)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F15 #51158F
analogous
#8F8E15 #538F15 #168F15
triadic
#538F15 #15538F #8F1553
tetradic
#538F15 #158F8E #51158F #8F1516
square
#538F15 #158F8E #51158F #8F1516
split-complementary
#538F15 #15168F #8E158F
monochromatic
#152405 #345A0D #538F15 #72C41D #91E23C

Accessibility & contrast

On white

3.96
#538F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##538F15#FFFFFF#000000##000000
##538F151.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#538979
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f15;
/* rgb */ color: rgb(83, 143, 21);
/* oklch */ color: oklch(58.7% 0.159 133.5);
Tailwind
colors: {
  custom: {
    50: '#89b060',
    500: '#538f15',
    950: '#000000',
  },
}
SCSS
$custom: #538f15;
$custom-light: #89b060;
$custom-dark: #000000;
JSON
{
  "hex": "#538f15",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 89.508,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58653,
    "c": 0.15854,
    "h": 133.5
  },
  "luminance": 0.21538
}

Semantic roles & 50–950 ramp

primary
#538F15
secondary
#7F3EC2
accent
#37F192
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #538F15

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

Preview Lab → · Contrast checker → · Palette generator →

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