#567F1F#567F1F

#567F1F is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.131 H 130.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#567F1F
RGBrgb(86, 127, 31)
HSLhsl(86, 61%, 31%)
HSVhsv(86, 76%, 50%)
CMYKcmyk(32.3%, 0%, 75.6%, 50.2%)
CIE-LABlab(48.58, -29.82, 44.80)
CIE-LCHlch(48.58, 53.81, 123.65°)
OKLaboklab(54.67% -0.0847 0.1003)
OKLCHoklch(54.67% 0.131 130.2)
XYZxyz(11.6744, 17.2557, 4.0117)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#567F1F #481F7F
analogous
#7F781F #567F1F #267F1F
triadic
#567F1F #1F567F #7F1F56
tetradic
#567F1F #1F7F78 #481F7F #7F1F26
square
#567F1F #1F7F78 #481F7F #7F1F26
split-complementary
#567F1F #1F267F #781F7F
monochromatic
#131D07 #354E13 #567F1F #77B02B #96D246

Accessibility & contrast

On white

4.72
#567F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#567F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #567F1F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##567F1F#FFFFFF#000000##FFFFFF
##567F1F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#58796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #567f1f;
/* rgb */ color: rgb(86, 127, 31);
/* oklch */ color: oklch(54.7% 0.131 130.2);
Tailwind
colors: {
  custom: {
    50: '#89a462',
    500: '#567f1f',
    950: '#000000',
  },
}
SCSS
$custom: #567f1f;
$custom-light: #89a462;
$custom-dark: #000000;
JSON
{
  "hex": "#567f1f",
  "rgb": {
    "r": 86,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 85.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54667,
    "c": 0.13126,
    "h": 130.2
  },
  "luminance": 0.17256
}

Semantic roles & 50–950 ramp

primary
#567F1F
secondary
#7548B2
accent
#44E488
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #567F1F

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

Preview Lab → · Contrast checker → · Palette generator →

#567F1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva