#538118#538118

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

Color values

HEX#538118
RGBrgb(83, 129, 24)
HSLhsl(86, 69%, 30%)
HSVhsv(86, 81%, 51%)
CMYKcmyk(35.7%, 0%, 81.4%, 49.4%)
CIE-LABlab(49.01, -32.34, 47.59)
CIE-LCHlch(49.01, 57.54, 124.20°)
OKLaboklab(54.96% -0.0919 0.1051)
OKLCHoklch(54.96% 0.14 131.2)
XYZxyz(11.5823, 17.6050, 3.6518)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538118 #461881
analogous
#817B18 #538118 #1E8118
triadic
#538118 #185381 #811853
tetradic
#538118 #18817B #461881 #81181E
square
#538118 #18817B #461881 #81181E
split-complementary
#538118 #181E81 #7B1881
monochromatic
#111A05 #324D0E #538118 #74B522 #94DA39

Accessibility & contrast

On white

4.64
#538118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #538118
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538118#FFFFFF#000000##FFFFFF
##5381181.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #538118;
/* rgb */ color: rgb(83, 129, 24);
/* oklch */ color: oklch(55.0% 0.140 131.2);
Tailwind
colors: {
  custom: {
    50: '#88a65f',
    500: '#538118',
    950: '#000000',
  },
}
SCSS
$custom: #538118;
$custom-light: #88a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#538118",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 86.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.13957,
    "h": 131.2
  },
  "luminance": 0.17605
}

Semantic roles & 50–950 ramp

primary
#538118
secondary
#7340B5
accent
#3CEB89
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #538118

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

Preview Lab → · Contrast checker → · Palette generator →

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