#538015#538015

#538015 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.140 H 130.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#538015
RGBrgb(83, 128, 21)
HSLhsl(85, 72%, 29%)
HSVhsv(85, 84%, 50%)
CMYKcmyk(35.2%, 0%, 83.6%, 49.8%)
CIE-LABlab(48.67, -32.03, 48.20)
CIE-LCHlch(48.67, 57.88, 123.61°)
OKLaboklab(54.68% -0.0912 0.1058)
OKLCHoklch(54.68% 0.14 130.8)
XYZxyz(11.4217, 17.3311, 3.4528)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538015 #421580
analogous
#807815 #538015 #1D8015
triadic
#538015 #155380 #801553
tetradic
#538015 #158078 #421580 #80151D
square
#538015 #158078 #421580 #80151D
split-complementary
#538015 #151D80 #781580
monochromatic
#111A04 #314B0C #538015 #75B51E #95DD32

Accessibility & contrast

On white

4.70
#538015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#538015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #538015
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538015#FFFFFF#000000##FFFFFF
##5380151.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#557A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #538015;
/* rgb */ color: rgb(83, 128, 21);
/* oklch */ color: oklch(54.7% 0.140 130.8);
Tailwind
colors: {
  custom: {
    50: '#88a55d',
    500: '#538015',
    950: '#000000',
  },
}
SCSS
$custom: #538015;
$custom-light: #88a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#538015",
  "rgb": {
    "r": 83,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 85.234,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.13975,
    "h": 130.8
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#538015
secondary
#6F3CB5
accent
#39EF86
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #538015

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

Preview Lab → · Contrast checker → · Palette generator →

#538015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva