#313B10#313B10

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

Color values

HEX#313B10
RGBrgb(49, 59, 16)
HSLhsl(74, 57%, 15%)
HSVhsv(74, 73%, 23%)
CMYKcmyk(16.9%, 0%, 72.9%, 76.9%)
CIE-LABlab(23.06, -11.70, 24.47)
CIE-LCHlch(23.06, 27.12, 115.55°)
OKLaboklab(33.27% -0.0339 0.0559)
OKLCHoklch(33.27% 0.065 121.2)
XYZxyz(2.9241, 3.8183, 1.0731)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B10 #1A103B
analogous
#3B2F10 #313B10 #1C3B10
triadic
#313B10 #10313B #3B1031
tetradic
#313B10 #103B2F #1A103B #3B101C
square
#313B10 #103B2F #1A103B #3B101C
split-complementary
#313B10 #101C3B #2F103B
monochromatic
#141807 #141807 #313B10 #596B1D #819B2A

Accessibility & contrast

On white

11.91
#313B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313B10
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B10#FFFFFF#000000##FFFFFF
##313B101.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313b10;
/* rgb */ color: rgb(49, 59, 16);
/* oklch */ color: oklch(33.3% 0.065 121.2);
Tailwind
colors: {
  custom: {
    50: '#6b7050',
    500: '#313b10',
    950: '#000000',
  },
}
SCSS
$custom: #313b10;
$custom-light: #6b7050;
$custom-dark: #000000;
JSON
{
  "hex": "#313b10",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 16
  },
  "hsl": {
    "h": 73.953,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33272,
    "c": 0.06541,
    "h": 121.2
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#313B10
secondary
#413275
accent
#47E16B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #313B10

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

Preview Lab → · Contrast checker → · Palette generator →

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