#538F12#538F12

#538F12 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.160 H 133.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#538F12
RGBrgb(83, 143, 18)
HSLhsl(89, 78%, 32%)
HSVhsv(89, 87%, 56%)
CMYKcmyk(42%, 0%, 87.4%, 43.9%)
CIE-LABlab(53.52, -38.79, 53.29)
CIE-LCHlch(53.52, 65.91, 126.05°)
OKLaboklab(58.64% -0.1096 0.1162)
OKLCHoklch(58.64% 0.16 133.3)
XYZxyz(13.4987, 21.5269, 4.0160)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F12 #4E128F
analogous
#8F8D12 #538F12 #158F12
triadic
#538F12 #12538F #8F1253
tetradic
#538F12 #128F8D #4E128F #8F1215
square
#538F12 #128F8D #4E128F #8F1215
split-complementary
#538F12 #12158F #8D128F
monochromatic
#142204 #33590B #538F12 #73C519 #91E636

Accessibility & contrast

On white

3.96
#538F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#538F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F12
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F12#FFFFFF#000000##000000
##538F121.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#538979
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f12;
/* rgb */ color: rgb(83, 143, 18);
/* oklch */ color: oklch(58.6% 0.160 133.3);
Tailwind
colors: {
  custom: {
    50: '#89b05f',
    500: '#538f12',
    950: '#000000',
  },
}
SCSS
$custom: #538f12;
$custom-light: #89b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#538f12",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 88.8,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.15968,
    "h": 133.3
  },
  "luminance": 0.21528
}

Semantic roles & 50–950 ramp

primary
#538F12
secondary
#7C3AC3
accent
#34F490
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #538F12

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

Preview Lab → · Contrast checker → · Palette generator →

#538F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva