#313F06#313F06

#313F06 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.079 H 123.2°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#313F06
RGBrgb(49, 63, 6)
HSLhsl(75, 83%, 14%)
HSVhsv(75, 90%, 25%)
CMYKcmyk(22.2%, 0%, 90.5%, 75.3%)
CIE-LABlab(24.39, -14.74, 30.25)
CIE-LCHlch(24.39, 33.65, 115.97°)
OKLaboklab(34.32% -0.0433 0.0663)
OKLCHoklch(34.32% 0.079 123.2)
XYZxyz(3.0770, 4.2211, 0.8249)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F06 #14063F
analogous
#3F3006 #313F06 #143F06
triadic
#313F06 #06313F #3F0631
tetradic
#313F06 #063F30 #14063F #3F0614
square
#313F06 #063F30 #14063F #3F0614
split-complementary
#313F06 #06143F #30063F
monochromatic
#161C03 #161C03 #313F06 #5C770B #88AF11

Accessibility & contrast

On white

11.39
#313F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#313F06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313F06
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F06#FFFFFF#000000##FFFFFF
##313F061.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#413A0C
Tritanopia (blue-blind)
#343B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313f06;
/* rgb */ color: rgb(49, 63, 6);
/* oklch */ color: oklch(34.3% 0.079 123.2);
Tailwind
colors: {
  custom: {
    50: '#6b744c',
    500: '#313f06',
    950: '#000000',
  },
}
SCSS
$custom: #313f06;
$custom-light: #6b744c;
$custom-dark: #000000;
JSON
{
  "hex": "#313f06",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 6
  },
  "hsl": {
    "h": 74.737,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34318,
    "c": 0.07923,
    "h": 123.2
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#313F06
secondary
#39227F
accent
#2FF960
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #313F06

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

Preview Lab → · Contrast checker → · Palette generator →

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