#313F14#313F14

#313F14 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.068 H 125.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#313F14
RGBrgb(49, 63, 20)
HSLhsl(80, 52%, 16%)
HSVhsv(80, 68%, 25%)
CMYKcmyk(22.2%, 0%, 68.3%, 75.3%)
CIE-LABlab(24.51, -13.65, 23.94)
CIE-LCHlch(24.51, 27.56, 119.70°)
OKLaboklab(34.45% -0.0389 0.0554)
OKLCHoklch(34.45% 0.068 125)
XYZxyz(3.1704, 4.2585, 1.3166)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F14 #22143F
analogous
#3F3814 #313F14 #1C3F14
triadic
#313F14 #14313F #3F1431
tetradic
#313F14 #143F38 #22143F #3F141C
square
#313F14 #143F38 #22143F #3F141C
split-complementary
#313F14 #141C3F #38143F
monochromatic
#121707 #121707 #313F14 #556D23 #799C31

Accessibility & contrast

On white

11.34
#313F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#313F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313F14
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F14#FFFFFF#000000##FFFFFF
##313F141.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0F
Deuteranopia (green-blind)
#413A17
Tritanopia (blue-blind)
#333C36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313f14;
/* rgb */ color: rgb(49, 63, 20);
/* oklch */ color: oklch(34.5% 0.068 125.0);
Tailwind
colors: {
  custom: {
    50: '#6a7453',
    500: '#313f14',
    950: '#000000',
  },
}
SCSS
$custom: #313f14;
$custom-light: #6a7453;
$custom-dark: #000000;
JSON
{
  "hex": "#313f14",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 20
  },
  "hsl": {
    "h": 79.535,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34452,
    "c": 0.06769,
    "h": 125
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#313F14
secondary
#4C3877
accent
#4DDB7B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #313F14

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

Preview Lab → · Contrast checker → · Palette generator →

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