#314B11#314B11

#314B11 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.089 H 130.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#314B11
RGBrgb(49, 75, 17)
HSLhsl(87, 63%, 18%)
HSVhsv(87, 77%, 29%)
CMYKcmyk(34.7%, 0%, 77.3%, 70.6%)
CIE-LABlab(28.71, -20.49, 29.89)
CIE-LCHlch(28.71, 36.24, 124.44°)
OKLaboklab(37.85% -0.058 0.0675)
OKLCHoklch(37.85% 0.089 130.7)
XYZxyz(3.8838, 5.7255, 1.4307)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B11 #2B114B
analogous
#4B4811 #314B11 #144B11
triadic
#314B11 #11314B #4B1131
tetradic
#314B11 #114B48 #2B114B #4B1114
square
#314B11 #114B48 #2B114B #4B1114
split-complementary
#314B11 #11144B #48114B
monochromatic
#101906 #101906 #314B11 #527D1C #72AF28

Accessibility & contrast

On white

9.79
#314B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#314B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B11
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B11#FFFFFF#000000##FFFFFF
##314B111.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4508
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#324840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314b11;
/* rgb */ color: rgb(49, 75, 17);
/* oklch */ color: oklch(37.8% 0.089 130.7);
Tailwind
colors: {
  custom: {
    50: '#6c7d53',
    500: '#314b11',
    950: '#000000',
  },
}
SCSS
$custom: #314b11;
$custom-light: #6c7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#314b11",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 17
  },
  "hsl": {
    "h": 86.897,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37849,
    "c": 0.089,
    "h": 130.7
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#314B11
secondary
#583384
accent
#42E68B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314B11

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

Preview Lab → · Contrast checker → · Palette generator →

#314B11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva