#538117#538117

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

Color values

HEX#538117
RGBrgb(83, 129, 23)
HSLhsl(86, 70%, 30%)
HSVhsv(86, 82%, 51%)
CMYKcmyk(35.7%, 0%, 82.2%, 49.4%)
CIE-LABlab(49.01, -32.39, 47.90)
CIE-LCHlch(49.01, 57.83, 124.07°)
OKLaboklab(54.96% -0.0921 0.1055)
OKLCHoklch(54.96% 0.14 131.1)
XYZxyz(11.5721, 17.6009, 3.5980)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538117 #451781
analogous
#817A17 #538117 #1E8117
triadic
#538117 #175381 #811753
tetradic
#538117 #17817A #451781 #81171E
square
#538117 #17817A #451781 #81171E
split-complementary
#538117 #171E81 #7A1781
monochromatic
#111A05 #324D0E #538117 #74B520 #94DB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538117#FFFFFF#000000##FFFFFF
##5381171.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)
#817323
Tritanopia (blue-blind)
#557B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #538117;
/* rgb */ color: rgb(83, 129, 23);
/* oklch */ color: oklch(55.0% 0.140 131.1);
Tailwind
colors: {
  custom: {
    50: '#88a65e',
    500: '#538117',
    950: '#000000',
  },
}
SCSS
$custom: #538117;
$custom-light: #88a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#538117",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 86.038,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54955,
    "c": 0.14006,
    "h": 131.1
  },
  "luminance": 0.17601
}

Semantic roles & 50–950 ramp

primary
#538117
secondary
#723EB5
accent
#3BED88
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #538117

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

Preview Lab → · Contrast checker → · Palette generator →

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