#313E09#313E09

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

Color values

HEX#313E09
RGBrgb(49, 62, 9)
HSLhsl(75, 75%, 14%)
HSVhsv(75, 85%, 24%)
CMYKcmyk(21%, 0%, 85.5%, 75.7%)
CIE-LABlab(24.06, -13.97, 28.70)
CIE-LCHlch(24.06, 31.92, 115.95°)
OKLaboklab(34.06% -0.0409 0.0636)
OKLCHoklch(34.06% 0.076 122.8)
XYZxyz(3.0386, 4.1179, 0.8931)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E09 #16093E
analogous
#3E3109 #313E09 #173E09
triadic
#313E09 #09313E #3E0931
tetradic
#313E09 #093E31 #16093E #3E0917
square
#313E09 #093E31 #16093E #3E0917
split-complementary
#313E09 #09173E #31093E
monochromatic
#151B04 #151B04 #313E09 #5B7311 #85A919

Accessibility & contrast

On white

11.52
#313E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#313E09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E09
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E09#FFFFFF#000000##FFFFFF
##313E091.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A01
Deuteranopia (green-blind)
#41390E
Tritanopia (blue-blind)
#343A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313e09;
/* rgb */ color: rgb(49, 62, 9);
/* oklch */ color: oklch(34.1% 0.076 122.8);
Tailwind
colors: {
  custom: {
    50: '#6b734d',
    500: '#313e09',
    950: '#000000',
  },
}
SCSS
$custom: #313e09;
$custom-light: #6b734d;
$custom-dark: #000000;
JSON
{
  "hex": "#313e09",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 9
  },
  "hsl": {
    "h": 74.717,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34057,
    "c": 0.07564,
    "h": 122.8
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#313E09
secondary
#3C277C
accent
#37F164
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #313E09

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

Preview Lab → · Contrast checker → · Palette generator →

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