#31560E#31560E

#31560E is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.107 H 133.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#31560E
RGBrgb(49, 86, 14)
HSLhsl(91, 72%, 20%)
HSVhsv(91, 84%, 34%)
CMYKcmyk(43%, 0%, 83.7%, 66.3%)
CIE-LABlab(32.57, -26.17, 34.90)
CIE-LCHlch(32.57, 43.62, 126.87°)
OKLaboklab(40.99% -0.0736 0.0775)
OKLCHoklch(40.99% 0.107 133.5)
XYZxyz(4.6736, 7.3400, 1.5859)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31560E #330E56
analogous
#55560E #31560E #0E560F
triadic
#31560E #0E3156 #560E31
tetradic
#31560E #0E5556 #330E56 #560F0E
square
#31560E #0E5556 #330E56 #560F0E
split-complementary
#31560E #0F0E56 #560E55
monochromatic
#0F1A04 #132105 #31560E #4F8B17 #6DBF1F

Accessibility & contrast

On white

8.51
#31560E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#31560E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31560E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31560E#FFFFFF#000000##FFFFFF
##31560E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E00
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#315249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #31560e;
/* rgb */ color: rgb(49, 86, 14);
/* oklch */ color: oklch(41.0% 0.107 133.5);
Tailwind
colors: {
  custom: {
    50: '#6d8653',
    500: '#31560e',
    950: '#000000',
  },
}
SCSS
$custom: #31560e;
$custom-light: #6d8653;
$custom-dark: #000000;
JSON
{
  "hex": "#31560e",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 14
  },
  "hsl": {
    "h": 90.833,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.10689,
    "h": 133.5
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#31560E
secondary
#613090
accent
#39EF96
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #31560E

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

Preview Lab → · Contrast checker → · Palette generator →

#31560E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva