#313B05#313B05

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

Color values

HEX#313B05
RGBrgb(49, 59, 5)
HSLhsl(71, 84%, 13%)
HSVhsv(71, 92%, 23%)
CMYKcmyk(16.9%, 0%, 91.5%, 76.9%)
CIE-LABlab(22.97, -12.50, 29.24)
CIE-LCHlch(22.97, 31.80, 113.15°)
OKLaboklab(33.17% -0.0373 0.0644)
OKLCHoklch(33.17% 0.074 120.1)
XYZxyz(2.8580, 3.7919, 0.7249)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B05 #0F053B
analogous
#3B2A05 #313B05 #163B05
triadic
#313B05 #05313B #3B0531
tetradic
#313B05 #053B2A #0F053B #3B0516
square
#313B05 #053B2A #0F053B #3B0516
split-complementary
#313B05 #05163B #2A053B
monochromatic
#171C02 #171C02 #313B05 #60730A #8FAC0F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313B05#FFFFFF#000000##FFFFFF
##313B051.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)
#3E370A
Tritanopia (blue-blind)
#343731
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313b05;
/* rgb */ color: rgb(49, 59, 5);
/* oklch */ color: oklch(33.2% 0.074 120.1);
Tailwind
colors: {
  custom: {
    50: '#6b704a',
    500: '#313b05',
    950: '#000000',
  },
}
SCSS
$custom: #313b05;
$custom-light: #6b704a;
$custom-dark: #000000;
JSON
{
  "hex": "#313b05",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 5
  },
  "hsl": {
    "h": 71.111,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3317,
    "c": 0.07441,
    "h": 120.1
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#313B05
secondary
#31207C
accent
#2DFB53
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313B05

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

Preview Lab → · Contrast checker → · Palette generator →

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