#31600F#31600F

#31600F is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 43.9% C 0.120 H 135.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#31600F
RGBrgb(49, 96, 15)
HSLhsl(95, 73%, 22%)
HSVhsv(95, 84%, 38%)
CMYKcmyk(49%, 0%, 84.4%, 62.4%)
CIE-LABlab(36.09, -30.70, 37.86)
CIE-LCHlch(36.09, 48.74, 129.04°)
OKLaboklab(43.88% -0.0857 0.0839)
OKLCHoklch(43.88% 0.12 135.6)
XYZxyz(5.5356, 9.0529, 1.9075)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31600F #3E0F60
analogous
#5A600F #31600F #0F6016
triadic
#31600F #0F3160 #600F31
tetradic
#31600F #0F5A60 #3E0F60 #60160F
square
#31600F #0F5A60 #3E0F60 #60160F
split-complementary
#31600F #160F60 #600F5A
monochromatic
#0E1A04 #162B07 #31600F #4C9517 #67CA20

Accessibility & contrast

On white

7.47
#31600F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#31600F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31600F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31600F#FFFFFF#000000##FFFFFF
##31600F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#5E5318
Tritanopia (blue-blind)
#2F5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #31600f;
/* rgb */ color: rgb(49, 96, 15);
/* oklch */ color: oklch(43.9% 0.120 135.6);
Tailwind
colors: {
  custom: {
    50: '#6e8d55',
    500: '#31600f',
    950: '#000000',
  },
}
SCSS
$custom: #31600f;
$custom-light: #6e8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#31600f",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 15
  },
  "hsl": {
    "h": 94.815,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4388,
    "c": 0.11993,
    "h": 135.6
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#31600F
secondary
#6E3299
accent
#38F0A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #31600F

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

Preview Lab → · Contrast checker → · Palette generator →

#31600F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva