#567212#567212

#567212 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.2% C 0.122 H 125.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#567212
RGBrgb(86, 114, 18)
HSLhsl(78, 73%, 26%)
HSVhsv(78, 84%, 45%)
CMYKcmyk(24.6%, 0%, 84.2%, 55.3%)
CIE-LABlab(44.31, -24.21, 45.24)
CIE-LCHlch(44.31, 51.31, 118.16°)
OKLaboklab(51.18% -0.0705 0.099)
OKLCHoklch(51.18% 0.122 125.5)
XYZxyz(9.9643, 14.0566, 2.7604)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#567212 #2E1272
analogous
#725E12 #567212 #267212
triadic
#567212 #125672 #721256
tetradic
#567212 #12725E #2E1272 #721226
square
#567212 #12725E #2E1272 #721226
split-complementary
#567212 #122672 #5E1272
monochromatic
#141A04 #2E3D0A #567212 #7EA71A #A6DC23

Accessibility & contrast

On white

5.51
#567212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#567212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #567212
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##567212#FFFFFF#000000##FFFFFF
##5672121.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#5A6C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #567212;
/* rgb */ color: rgb(86, 114, 18);
/* oklch */ color: oklch(51.2% 0.122 125.5);
Tailwind
colors: {
  custom: {
    50: '#899a5a',
    500: '#567212',
    950: '#000000',
  },
}
SCSS
$custom: #567212;
$custom-light: #899a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#567212",
  "rgb": {
    "r": 86,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 77.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51176,
    "c": 0.12151,
    "h": 125.5
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#567212
secondary
#5837A9
accent
#38EF6E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #567212

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

Preview Lab → · Contrast checker → · Palette generator →

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