#313F16#313F16

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

Color values

HEX#313F16
RGBrgb(49, 63, 22)
HSLhsl(80, 48%, 17%)
HSVhsv(80, 65%, 25%)
CMYKcmyk(22.2%, 0%, 65.1%, 75.3%)
CIE-LABlab(24.53, -13.44, 22.87)
CIE-LCHlch(24.53, 26.53, 120.44°)
OKLaboklab(34.48% -0.038 0.0534)
OKLCHoklch(34.48% 0.066 125.5)
XYZxyz(3.1890, 4.2659, 1.4143)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F16 #24163F
analogous
#3F3916 #313F16 #1D3F16
triadic
#313F16 #16313F #3F1631
tetradic
#313F16 #163F39 #24163F #3F161D
square
#313F16 #163F39 #24163F #3F161D
split-complementary
#313F16 #161D3F #39163F
monochromatic
#121708 #121708 #313F16 #546C26 #789A36

Accessibility & contrast

On white

11.33
#313F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313F16
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F16#FFFFFF#000000##FFFFFF
##313F161.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313f16;
/* rgb */ color: rgb(49, 63, 22);
/* oklch */ color: oklch(34.5% 0.066 125.5);
Tailwind
colors: {
  custom: {
    50: '#6a7455',
    500: '#313f16',
    950: '#000000',
  },
}
SCSS
$custom: #313f16;
$custom-light: #6a7455;
$custom-dark: #000000;
JSON
{
  "hex": "#313f16",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 22
  },
  "hsl": {
    "h": 80.488,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34479,
    "c": 0.06557,
    "h": 125.5
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#313F16
secondary
#4F3B76
accent
#50D87E
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #313F16

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

Preview Lab → · Contrast checker → · Palette generator →

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