#313B06#313B06

#313B06 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.074 H 120.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#313B06
RGBrgb(49, 59, 6)
HSLhsl(71, 82%, 13%)
HSVhsv(71, 90%, 23%)
CMYKcmyk(16.9%, 0%, 89.8%, 76.9%)
CIE-LABlab(22.98, -12.43, 28.84)
CIE-LCHlch(22.98, 31.40, 113.32°)
OKLaboklab(33.18% -0.037 0.0636)
OKLCHoklch(33.18% 0.074 120.2)
XYZxyz(2.8635, 3.7941, 0.7537)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B06 #10063B
analogous
#3B2A06 #313B06 #163B06
triadic
#313B06 #06313B #3B0631
tetradic
#313B06 #063B2A #10063B #3B0616
square
#313B06 #063B2A #10063B #3B0616
split-complementary
#313B06 #06163B #2A063B
monochromatic
#171C03 #171C03 #313B06 #5F730C #8DAA11

Accessibility & contrast

On white

11.94
#313B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#313B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313B06
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B06#FFFFFF#000000##FFFFFF
##313B061.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#343731
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313b06;
/* rgb */ color: rgb(49, 59, 6);
/* oklch */ color: oklch(33.2% 0.074 120.2);
Tailwind
colors: {
  custom: {
    50: '#6b704b',
    500: '#313b06',
    950: '#000000',
  },
}
SCSS
$custom: #313b06;
$custom-light: #6b704b;
$custom-dark: #000000;
JSON
{
  "hex": "#313b06",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 71.321,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.33179,
    "c": 0.07363,
    "h": 120.2
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#313B06
secondary
#33227B
accent
#30F856
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313B06

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

Preview Lab → · Contrast checker → · Palette generator →

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