#314A15#314A15

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

Color values

HEX#314A15
RGBrgb(49, 74, 21)
HSLhsl(88, 56%, 19%)
HSVhsv(88, 72%, 29%)
CMYKcmyk(33.8%, 0%, 71.6%, 71%)
CIE-LABlab(28.39, -19.62, 27.67)
CIE-LCHlch(28.39, 33.92, 125.34°)
OKLaboklab(37.6% -0.0552 0.0635)
OKLCHoklch(37.6% 0.084 131)
XYZxyz(3.8507, 5.6045, 1.5882)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A15 #2E154A
analogous
#4A4815 #314A15 #164A15
triadic
#314A15 #15314A #4A1531
tetradic
#314A15 #154A48 #2E154A #4A1516
square
#314A15 #154A48 #2E154A #4A1516
split-complementary
#314A15 #15164A #48154A
monochromatic
#101807 #111A07 #314A15 #517A23 #70A930

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314A15#FFFFFF#000000##FFFFFF
##314A151.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)
#4E440E
Deuteranopia (green-blind)
#4A4219
Tritanopia (blue-blind)
#32473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314a15;
/* rgb */ color: rgb(49, 74, 21);
/* oklch */ color: oklch(37.6% 0.084 131.0);
Tailwind
colors: {
  custom: {
    50: '#6b7c55',
    500: '#314a15',
    950: '#000000',
  },
}
SCSS
$custom: #314a15;
$custom-light: #6b7c55;
$custom-dark: #000000;
JSON
{
  "hex": "#314a15",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 21
  },
  "hsl": {
    "h": 88.302,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37603,
    "c": 0.08413,
    "h": 131
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#314A15
secondary
#5B3982
accent
#49DF90
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314A15

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

Preview Lab → · Contrast checker → · Palette generator →

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