#313C10#313C10

#313C10 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.6% C 0.067 H 122.1°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#313C10
RGBrgb(49, 60, 16)
HSLhsl(75, 58%, 15%)
HSVhsv(75, 73%, 24%)
CMYKcmyk(18.3%, 0%, 73.3%, 76.5%)
CIE-LABlab(23.41, -12.29, 24.84)
CIE-LCHlch(23.41, 27.72, 116.32°)
OKLaboklab(33.56% -0.0355 0.0567)
OKLCHoklch(33.56% 0.067 122.1)
XYZxyz(2.9760, 3.9221, 1.0904)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C10 #1B103C
analogous
#3C3110 #313C10 #1B3C10
triadic
#313C10 #10313C #3C1031
tetradic
#313C10 #103C31 #1B103C #3C101B
square
#313C10 #103C31 #1B103C #3C101B
split-complementary
#313C10 #101B3C #31103C
monochromatic
#141806 #141806 #313C10 #586C1D #809D2A

Accessibility & contrast

On white

11.77
#313C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#313C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313C10
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C10#FFFFFF#000000##FFFFFF
##313C101.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380A
Deuteranopia (green-blind)
#3F3813
Tritanopia (blue-blind)
#343933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313c10;
/* rgb */ color: rgb(49, 60, 16);
/* oklch */ color: oklch(33.6% 0.067 122.1);
Tailwind
colors: {
  custom: {
    50: '#6b7150',
    500: '#313c10',
    950: '#000000',
  },
}
SCSS
$custom: #313c10;
$custom-light: #6b7150;
$custom-dark: #000000;
JSON
{
  "hex": "#313c10",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 16
  },
  "hsl": {
    "h": 75,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33555,
    "c": 0.06694,
    "h": 122.1
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#313C10
secondary
#433276
accent
#47E16D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #313C10

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

Preview Lab → · Contrast checker → · Palette generator →

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