#313D09#313D09

#313D09 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.074 H 122.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#313D09
RGBrgb(49, 61, 9)
HSLhsl(74, 74%, 14%)
HSVhsv(74, 85%, 24%)
CMYKcmyk(19.7%, 0%, 85.2%, 76.1%)
CIE-LABlab(23.71, -13.40, 28.35)
CIE-LCHlch(23.71, 31.36, 115.29°)
OKLaboklab(33.77% -0.0394 0.0629)
OKLCHoklch(33.77% 0.074 122)
XYZxyz(2.9847, 4.0102, 0.8752)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D09 #15093D
analogous
#3D2F09 #313D09 #173D09
triadic
#313D09 #09313D #3D0931
tetradic
#313D09 #093D2F #15093D #3D0917
square
#313D09 #093D2F #15093D #3D0917
split-complementary
#313D09 #09173D #2F093D
monochromatic
#151B04 #151B04 #313D09 #5C7211 #87A819

Accessibility & contrast

On white

11.65
#313D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#313D09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D09
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D09#FFFFFF#000000##FFFFFF
##313D091.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413902
Deuteranopia (green-blind)
#40380E
Tritanopia (blue-blind)
#343933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313d09;
/* rgb */ color: rgb(49, 61, 9);
/* oklch */ color: oklch(33.8% 0.074 122.0);
Tailwind
colors: {
  custom: {
    50: '#6b724d',
    500: '#313d09',
    950: '#000000',
  },
}
SCSS
$custom: #313d09;
$custom-light: #6b724d;
$custom-dark: #000000;
JSON
{
  "hex": "#313d09",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 9
  },
  "hsl": {
    "h": 73.846,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33772,
    "c": 0.07419,
    "h": 122
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#313D09
secondary
#3A277B
accent
#37F162
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #313D09

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

Preview Lab → · Contrast checker → · Palette generator →

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