#313E10#313E10

#313E10 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.1% C 0.070 H 123.6°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#313E10
RGBrgb(49, 62, 16)
HSLhsl(77, 59%, 15%)
HSVhsv(77, 74%, 24%)
CMYKcmyk(21%, 0%, 74.2%, 75.7%)
CIE-LABlab(24.11, -13.45, 25.59)
CIE-LCHlch(24.11, 28.91, 117.73°)
OKLaboklab(34.12% -0.0388 0.0583)
OKLCHoklch(34.12% 0.07 123.6)
XYZxyz(3.0828, 4.1356, 1.1260)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E10 #1D103E
analogous
#3E3410 #313E10 #1A3E10
triadic
#313E10 #10313E #3E1031
tetradic
#313E10 #103E34 #1D103E #3E101A
square
#313E10 #103E34 #1D103E #3E101A
split-complementary
#313E10 #101A3E #34103E
monochromatic
#131806 #131806 #313E10 #576F1D #7E9F29

Accessibility & contrast

On white

11.49
#313E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#313E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E10
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E10#FFFFFF#000000##FFFFFF
##313E101.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0A
Deuteranopia (green-blind)
#403913
Tritanopia (blue-blind)
#343B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313e10;
/* rgb */ color: rgb(49, 62, 16);
/* oklch */ color: oklch(34.1% 0.070 123.6);
Tailwind
colors: {
  custom: {
    50: '#6b7351',
    500: '#313e10',
    950: '#000000',
  },
}
SCSS
$custom: #313e10;
$custom-light: #6b7351;
$custom-dark: #000000;
JSON
{
  "hex": "#313e10",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 16
  },
  "hsl": {
    "h": 76.957,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34121,
    "c": 0.07002,
    "h": 123.6
  },
  "luminance": 0.04136
}

Semantic roles & 50–950 ramp

primary
#313E10
secondary
#463278
accent
#46E272
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313E10

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

Preview Lab → · Contrast checker → · Palette generator →

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