#313F13#313F13

#313F13 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.069 H 124.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#313F13
RGBrgb(49, 63, 19)
HSLhsl(79, 54%, 16%)
HSVhsv(79, 70%, 25%)
CMYKcmyk(22.2%, 0%, 69.8%, 75.3%)
CIE-LABlab(24.50, -13.75, 24.46)
CIE-LCHlch(24.50, 28.06, 119.35°)
OKLaboklab(34.44% -0.0392 0.0564)
OKLCHoklch(34.44% 0.069 124.8)
XYZxyz(3.1617, 4.2550, 1.2707)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F13 #21133F
analogous
#3F3713 #313F13 #1B3F13
triadic
#313F13 #13313F #3F1331
tetradic
#313F13 #133F37 #21133F #3F131B
square
#313F13 #133F37 #21133F #3F131B
split-complementary
#313F13 #131B3F #37133F
monochromatic
#121807 #121807 #313F13 #566E21 #7A9D2F

Accessibility & contrast

On white

11.35
#313F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#313F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313F13
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F13#FFFFFF#000000##FFFFFF
##313F131.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0E
Deuteranopia (green-blind)
#413A16
Tritanopia (blue-blind)
#333C36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313f13;
/* rgb */ color: rgb(49, 63, 19);
/* oklch */ color: oklch(34.4% 0.069 124.8);
Tailwind
colors: {
  custom: {
    50: '#6b7453',
    500: '#313f13',
    950: '#000000',
  },
}
SCSS
$custom: #313f13;
$custom-light: #6b7453;
$custom-dark: #000000;
JSON
{
  "hex": "#313f13",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 19
  },
  "hsl": {
    "h": 79.091,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3444,
    "c": 0.0687,
    "h": 124.8
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

primary
#313F13
secondary
#4B3678
accent
#4BDD79
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313F13

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

Preview Lab → · Contrast checker → · Palette generator →

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