#537F12#537F12

#537F12 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.140 H 130.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#537F12
RGBrgb(83, 127, 18)
HSLhsl(84, 75%, 28%)
HSVhsv(84, 86%, 50%)
CMYKcmyk(34.6%, 0%, 85.8%, 50.2%)
CIE-LABlab(48.34, -31.70, 48.75)
CIE-LCHlch(48.34, 58.15, 123.04°)
OKLaboklab(54.4% -0.0906 0.1065)
OKLCHoklch(54.4% 0.14 130.4)
XYZxyz(11.2658, 17.0610, 3.2717)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#537F12 #3E127F
analogous
#7F7412 #537F12 #1D7F12
triadic
#537F12 #12537F #7F1253
tetradic
#537F12 #127F74 #3E127F #7F121D
square
#537F12 #127F74 #3E127F #7F121D
split-complementary
#537F12 #121D7F #74127F
monochromatic
#121B04 #30490A #537F12 #76B51A #97E12B

Accessibility & contrast

On white

4.76
#537F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#537F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #537F12
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##537F12#FFFFFF#000000##FFFFFF
##537F121.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#55796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #537f12;
/* rgb */ color: rgb(83, 127, 18);
/* oklch */ color: oklch(54.4% 0.140 130.4);
Tailwind
colors: {
  custom: {
    50: '#88a45c',
    500: '#537f12',
    950: '#000000',
  },
}
SCSS
$custom: #537f12;
$custom-light: #88a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#537f12",
  "rgb": {
    "r": 83,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 84.22,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.13981,
    "h": 130.4
  },
  "luminance": 0.17061
}

Semantic roles & 50–950 ramp

primary
#537F12
secondary
#6A38B5
accent
#36F282
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79

Preview Lab

Preview with #537F12

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

Preview Lab → · Contrast checker → · Palette generator →

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