#538115#538115

#538115 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.9% C 0.141 H 131.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#538115
RGBrgb(83, 129, 21)
HSLhsl(86, 72%, 29%)
HSVhsv(86, 84%, 51%)
CMYKcmyk(35.7%, 0%, 83.7%, 49.4%)
CIE-LABlab(49.00, -32.49, 48.50)
CIE-LCHlch(49.00, 58.37, 123.82°)
OKLaboklab(54.94% -0.0925 0.1065)
OKLCHoklch(54.94% 0.141 131)
XYZxyz(11.5528, 17.5932, 3.4965)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538115 #431581
analogous
#817915 #538115 #1D8115
triadic
#538115 #155381 #811553
tetradic
#538115 #158179 #431581 #81151D
square
#538115 #158179 #431581 #81151D
split-complementary
#538115 #151D81 #791581
monochromatic
#111A04 #314C0C #538115 #75B61E #95DE33

Accessibility & contrast

On white

4.65
#538115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#538115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #538115
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538115#FFFFFF#000000##FFFFFF
##5381151.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#817322
Tritanopia (blue-blind)
#557B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #538115;
/* rgb */ color: rgb(83, 129, 21);
/* oklch */ color: oklch(54.9% 0.141 131.0);
Tailwind
colors: {
  custom: {
    50: '#88a65e',
    500: '#538115',
    950: '#000000',
  },
}
SCSS
$custom: #538115;
$custom-light: #88a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#538115",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 85.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54944,
    "c": 0.14103,
    "h": 131
  },
  "luminance": 0.17594
}

Semantic roles & 50–950 ramp

primary
#538115
secondary
#703CB6
accent
#39EF86
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #538115

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

Preview Lab → · Contrast checker → · Palette generator →

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