#567512#567512

#567512 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 52.0% C 0.125 H 126.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#567512
RGBrgb(86, 117, 18)
HSLhsl(79, 73%, 26%)
HSVhsv(79, 85%, 46%)
CMYKcmyk(26.5%, 0%, 84.6%, 54.1%)
CIE-LABlab(45.28, -25.70, 46.10)
CIE-LCHlch(45.28, 52.78, 119.14°)
OKLaboklab(51.96% -0.0745 0.1008)
OKLCHoklch(51.96% 0.125 126.5)
XYZxyz(10.3083, 14.7445, 2.8750)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#567512 #311275
analogous
#756312 #567512 #257512
triadic
#567512 #125675 #751256
tetradic
#567512 #127563 #311275 #751225
square
#567512 #127563 #311275 #751225
split-complementary
#567512 #122575 #631275
monochromatic
#131B04 #2F400A #567512 #7DAA1A #A3DD24

Accessibility & contrast

On white

5.32
#567512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#567512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #567512
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##567512#FFFFFF#000000##FFFFFF
##5675121.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#776B1D
Tritanopia (blue-blind)
#5A6F63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #567512;
/* rgb */ color: rgb(86, 117, 18);
/* oklch */ color: oklch(52.0% 0.125 126.5);
Tailwind
colors: {
  custom: {
    50: '#899d5b',
    500: '#567512',
    950: '#000000',
  },
}
SCSS
$custom: #567512;
$custom-light: #899d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#567512",
  "rgb": {
    "r": 86,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 78.788,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51961,
    "c": 0.12537,
    "h": 126.5
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

primary
#567512
secondary
#5C37AC
accent
#38F071
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #567512

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

Preview Lab → · Contrast checker → · Palette generator →

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