#314C0E#314C0E

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

Color values

HEX#314C0E
RGBrgb(49, 76, 14)
HSLhsl(86, 69%, 18%)
HSVhsv(86, 82%, 30%)
CMYKcmyk(35.5%, 0%, 81.6%, 70.2%)
CIE-LABlab(29.04, -21.23, 31.50)
CIE-LCHlch(29.04, 37.99, 123.98°)
OKLaboklab(38.11% -0.0603 0.0704)
OKLCHoklch(38.11% 0.093 130.6)
XYZxyz(3.9303, 5.8534, 1.3381)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C0E #290E4C
analogous
#4C480E #314C0E #124C0E
triadic
#314C0E #0E314C #4C0E31
tetradic
#314C0E #0E4C48 #290E4C #4C0E12
square
#314C0E #0E4C48 #290E4C #4C0E12
split-complementary
#314C0E #0E124C #480E4C
monochromatic
#111A05 #111A05 #314C0E #528018 #74B321

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314C0E#FFFFFF#000000##FFFFFF
##314C0E1.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)
#504603
Deuteranopia (green-blind)
#4C4414
Tritanopia (blue-blind)
#324840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314c0e;
/* rgb */ color: rgb(49, 76, 14);
/* oklch */ color: oklch(38.1% 0.093 130.6);
Tailwind
colors: {
  custom: {
    50: '#6c7e52',
    500: '#314c0e',
    950: '#000000',
  },
}
SCSS
$custom: #314c0e;
$custom-light: #6c7e52;
$custom-dark: #000000;
JSON
{
  "hex": "#314c0e",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 86.129,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38111,
    "c": 0.09265,
    "h": 130.6
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#314C0E
secondary
#552F87
accent
#3CEC89
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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