#313D10#313D10

#313D10 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.068 H 122.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#313D10
RGBrgb(49, 61, 16)
HSLhsl(76, 58%, 15%)
HSVhsv(76, 74%, 24%)
CMYKcmyk(19.7%, 0%, 73.8%, 76.1%)
CIE-LABlab(23.76, -12.87, 25.22)
CIE-LCHlch(23.76, 28.31, 117.04°)
OKLaboklab(33.84% -0.0371 0.0575)
OKLCHoklch(33.84% 0.068 122.9)
XYZxyz(3.0289, 4.0279, 1.1080)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D10 #1C103D
analogous
#3D3210 #313D10 #1A3D10
triadic
#313D10 #10313D #3D1031
tetradic
#313D10 #103D32 #1C103D #3D101A
square
#313D10 #103D32 #1C103D #3D101A
split-complementary
#313D10 #101A3D #32103D
monochromatic
#131806 #131806 #313D10 #586D1D #7F9E29

Accessibility & contrast

On white

11.63
#313D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#313D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D10
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D10#FFFFFF#000000##FFFFFF
##313D101.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390A
Deuteranopia (green-blind)
#3F3913
Tritanopia (blue-blind)
#343A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313d10;
/* rgb */ color: rgb(49, 61, 16);
/* oklch */ color: oklch(33.8% 0.068 122.9);
Tailwind
colors: {
  custom: {
    50: '#6b7251',
    500: '#313d10',
    950: '#000000',
  },
}
SCSS
$custom: #313d10;
$custom-light: #6b7251;
$custom-dark: #000000;
JSON
{
  "hex": "#313d10",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 16
  },
  "hsl": {
    "h": 76,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33838,
    "c": 0.06847,
    "h": 122.9
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#313D10
secondary
#443277
accent
#46E270
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313D10

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

Preview Lab → · Contrast checker → · Palette generator →

#313D10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva