#538018#538018

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

Color values

HEX#538018
RGBrgb(83, 128, 24)
HSLhsl(86, 68%, 30%)
HSVhsv(86, 81%, 50%)
CMYKcmyk(35.2%, 0%, 81.3%, 49.8%)
CIE-LABlab(48.69, -31.88, 47.29)
CIE-LCHlch(48.69, 57.04, 123.99°)
OKLaboklab(54.7% -0.0906 0.1044)
OKLCHoklch(54.7% 0.138 131)
XYZxyz(11.4512, 17.3429, 3.6081)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538018 #451880
analogous
#807918 #538018 #1F8018
triadic
#538018 #185380 #801853
tetradic
#538018 #188079 #451880 #80181F
square
#538018 #188079 #451880 #80181F
split-complementary
#538018 #181F80 #791880
monochromatic
#111A05 #324C0E #538018 #74B422 #94DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538018#FFFFFF#000000##FFFFFF
##5380181.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)
#807223
Tritanopia (blue-blind)
#557A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #538018;
/* rgb */ color: rgb(83, 128, 24);
/* oklch */ color: oklch(54.7% 0.138 131.0);
Tailwind
colors: {
  custom: {
    50: '#88a55f',
    500: '#538018',
    950: '#000000',
  },
}
SCSS
$custom: #538018;
$custom-light: #88a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#538018",
  "rgb": {
    "r": 83,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 85.962,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.13827,
    "h": 131
  },
  "luminance": 0.17343
}

Semantic roles & 50–950 ramp

primary
#538018
secondary
#7240B4
accent
#3DEB88
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #538018

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

Preview Lab → · Contrast checker → · Palette generator →

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