#313D06#313D06

#313D06 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.076 H 121.8°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#313D06
RGBrgb(49, 61, 6)
HSLhsl(73, 82%, 13%)
HSVhsv(73, 90%, 24%)
CMYKcmyk(19.7%, 0%, 90.2%, 76.1%)
CIE-LABlab(23.68, -13.59, 29.55)
CIE-LCHlch(23.68, 32.53, 114.70°)
OKLaboklab(33.75% -0.0402 0.065)
OKLCHoklch(33.75% 0.076 121.8)
XYZxyz(2.9683, 4.0036, 0.7887)
Luminance0.0400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D06 #12063D
analogous
#3D2D06 #313D06 #153D06
triadic
#313D06 #06313D #3D0631
tetradic
#313D06 #063D2D #12063D #3D0615
square
#313D06 #063D2D #12063D #3D0615
split-complementary
#313D06 #06153D #2D063D
monochromatic
#161C03 #161C03 #313D06 #5E750B #8BAC11

Accessibility & contrast

On white

11.66
#313D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313D06
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D06#FFFFFF#000000##FFFFFF
##313D061.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313d06;
/* rgb */ color: rgb(49, 61, 6);
/* oklch */ color: oklch(33.7% 0.076 121.8);
Tailwind
colors: {
  custom: {
    50: '#6b724b',
    500: '#313d06',
    950: '#000000',
  },
}
SCSS
$custom: #313d06;
$custom-light: #6b724b;
$custom-dark: #000000;
JSON
{
  "hex": "#313d06",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 6
  },
  "hsl": {
    "h": 73.091,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33748,
    "c": 0.07643,
    "h": 121.8
  },
  "luminance": 0.04004
}

Semantic roles & 50–950 ramp

primary
#313D06
secondary
#36227D
accent
#2FF85B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #313D06

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

Preview Lab → · Contrast checker → · Palette generator →

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