#314A0E#314A0E

#314A0E is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.090 H 129.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#314A0E
RGBrgb(49, 74, 14)
HSLhsl(85, 68%, 17%)
HSVhsv(85, 81%, 29%)
CMYKcmyk(33.8%, 0%, 81.1%, 71%)
CIE-LABlab(28.33, -20.20, 30.81)
CIE-LCHlch(28.33, 36.84, 123.25°)
OKLaboklab(37.54% -0.0575 0.0689)
OKLCHoklch(37.54% 0.09 129.8)
XYZxyz(3.7946, 5.5821, 1.2929)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A0E #270E4A
analogous
#4A450E #314A0E #134A0E
triadic
#314A0E #0E314A #4A0E31
tetradic
#314A0E #0E4A45 #270E4A #4A0E13
square
#314A0E #0E4A45 #270E4A #4A0E13
split-complementary
#314A0E #0E134A #450E4A
monochromatic
#111A05 #111A05 #314A0E #537D18 #75B121

Accessibility & contrast

On white

9.92
#314A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#314A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A0E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A0E#FFFFFF#000000##FFFFFF
##314A0E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4404
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#33463E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314a0e;
/* rgb */ color: rgb(49, 74, 14);
/* oklch */ color: oklch(37.5% 0.090 129.8);
Tailwind
colors: {
  custom: {
    50: '#6c7c51',
    500: '#314a0e',
    950: '#000000',
  },
}
SCSS
$custom: #314a0e;
$custom-light: #6c7c51;
$custom-dark: #000000;
JSON
{
  "hex": "#314a0e",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 85,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37536,
    "c": 0.08973,
    "h": 129.8
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#314A0E
secondary
#532F85
accent
#3DEB85
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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