#314C11#314C11

#314C11 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.090 H 131.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#314C11
RGBrgb(49, 76, 17)
HSLhsl(87, 63%, 18%)
HSVhsv(87, 78%, 30%)
CMYKcmyk(35.5%, 0%, 77.6%, 70.2%)
CIE-LABlab(29.06, -21.01, 30.25)
CIE-LCHlch(29.06, 36.83, 124.78°)
OKLaboklab(38.14% -0.0594 0.0683)
OKLCHoklch(38.14% 0.09 131)
XYZxyz(3.9522, 5.8622, 1.4535)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C11 #2C114C
analogous
#4C4911 #314C11 #134C11
triadic
#314C11 #11314C #4C1131
tetradic
#314C11 #114C49 #2C114C #4C1113
square
#314C11 #114C49 #2C114C #4C1113
split-complementary
#314C11 #11134C #49114C
monochromatic
#101906 #111A06 #314C11 #517E1C #71B027

Accessibility & contrast

On white

9.67
#314C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#314C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C11
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C11#FFFFFF#000000##FFFFFF
##314C111.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314c11;
/* rgb */ color: rgb(49, 76, 17);
/* oklch */ color: oklch(38.1% 0.090 131.0);
Tailwind
colors: {
  custom: {
    50: '#6c7e53',
    500: '#314c11',
    950: '#000000',
  },
}
SCSS
$custom: #314c11;
$custom-light: #6c7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#314c11",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 17
  },
  "hsl": {
    "h": 87.458,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38137,
    "c": 0.09049,
    "h": 131
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#314C11
secondary
#593385
accent
#41E68D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314C11

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

Preview Lab → · Contrast checker → · Palette generator →

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