#537212#537212

#537212 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 51.0% C 0.123 H 126.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#537212
RGBrgb(83, 114, 18)
HSLhsl(79, 73%, 26%)
HSVhsv(79, 84%, 45%)
CMYKcmyk(27.2%, 0%, 84.2%, 55.3%)
CIE-LABlab(44.11, -25.50, 44.98)
CIE-LCHlch(44.11, 51.71, 119.55°)
OKLaboklab(50.96% -0.0738 0.0985)
OKLCHoklch(50.96% 0.123 126.8)
XYZxyz(9.6938, 13.9171, 2.7477)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#537212 #311272
analogous
#726112 #537212 #237212
triadic
#537212 #125372 #721253
tetradic
#537212 #127261 #311272 #721223
square
#537212 #127261 #311272 #721223
split-complementary
#537212 #122372 #611272
monochromatic
#131A04 #2D3D0A #537212 #79A71A #A0DC23

Accessibility & contrast

On white

5.55
#537212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#537212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #537212
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##537212#FFFFFF#000000##FFFFFF
##5372121.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#576C61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #537212;
/* rgb */ color: rgb(83, 114, 18);
/* oklch */ color: oklch(51.0% 0.123 126.8);
Tailwind
colors: {
  custom: {
    50: '#879a5a',
    500: '#537212',
    950: '#000000',
  },
}
SCSS
$custom: #537212;
$custom-light: #879a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#537212",
  "rgb": {
    "r": 83,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 79.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.1231,
    "h": 126.8
  },
  "luminance": 0.13917
}

Semantic roles & 50–950 ramp

primary
#537212
secondary
#5C37A9
accent
#38EF73
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #537212

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

Preview Lab → · Contrast checker → · Palette generator →

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