#313B13#313B13

#313B13 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.3% C 0.062 H 121.7°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#313B13
RGBrgb(49, 59, 19)
HSLhsl(75, 51%, 15%)
HSVhsv(75, 68%, 23%)
CMYKcmyk(16.9%, 0%, 67.8%, 76.9%)
CIE-LABlab(23.09, -11.41, 22.90)
CIE-LCHlch(23.09, 25.59, 116.48°)
OKLaboklab(33.31% -0.0327 0.0531)
OKLCHoklch(33.31% 0.062 121.7)
XYZxyz(2.9482, 3.8279, 1.1995)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B13 #1D133B
analogous
#3B3113 #313B13 #1D3B13
triadic
#313B13 #13313B #3B1331
tetradic
#313B13 #133B31 #1D133B #3B131D
square
#313B13 #133B31 #1D133B #3B131D
split-complementary
#313B13 #131D3B #31133B
monochromatic
#131707 #131707 #313B13 #576922 #7E9831

Accessibility & contrast

On white

11.89
#313B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#313B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313B13
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B13#FFFFFF#000000##FFFFFF
##313B131.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370F
Deuteranopia (green-blind)
#3E3716
Tritanopia (blue-blind)
#343832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313b13;
/* rgb */ color: rgb(49, 59, 19);
/* oklch */ color: oklch(33.3% 0.062 121.7);
Tailwind
colors: {
  custom: {
    50: '#6a7052',
    500: '#313b13',
    950: '#000000',
  },
}
SCSS
$custom: #313b13;
$custom-light: #6a7052;
$custom-dark: #000000;
JSON
{
  "hex": "#313b13",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 19
  },
  "hsl": {
    "h": 75,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33309,
    "c": 0.06236,
    "h": 121.7
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#313B13
secondary
#463673
accent
#4DDB70
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313B13

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

Preview Lab → · Contrast checker → · Palette generator →

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