#314A14#314A14

#314A14 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.085 H 130.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#314A14
RGBrgb(49, 74, 20)
HSLhsl(88, 57%, 18%)
HSVhsv(88, 73%, 29%)
CMYKcmyk(33.8%, 0%, 73%, 71%)
CIE-LABlab(28.38, -19.71, 28.15)
CIE-LCHlch(28.38, 34.37, 125.00°)
OKLaboklab(37.59% -0.0556 0.0643)
OKLCHoklch(37.59% 0.085 130.8)
XYZxyz(3.8416, 5.6009, 1.5404)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A14 #2D144A
analogous
#4A4814 #314A14 #164A14
triadic
#314A14 #14314A #4A1431
tetradic
#314A14 #144A48 #2D144A #4A1416
square
#314A14 #144A48 #2D144A #4A1416
split-complementary
#314A14 #14164A #48144A
monochromatic
#101807 #111A07 #314A14 #517A21 #71AA2E

Accessibility & contrast

On white

9.90
#314A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314A14
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A14#FFFFFF#000000##FFFFFF
##314A141.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440D
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#32473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314a14;
/* rgb */ color: rgb(49, 74, 20);
/* oklch */ color: oklch(37.6% 0.085 130.8);
Tailwind
colors: {
  custom: {
    50: '#6b7c55',
    500: '#314a14',
    950: '#000000',
  },
}
SCSS
$custom: #314a14;
$custom-light: #6b7c55;
$custom-dark: #000000;
JSON
{
  "hex": "#314a14",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 87.778,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37592,
    "c": 0.08502,
    "h": 130.8
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#314A14
secondary
#5A3882
accent
#47E18E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314A14

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

Preview Lab → · Contrast checker → · Palette generator →

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