#314B0C#314B0C

#314B0C is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.093 H 130.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#314B0C
RGBrgb(49, 75, 12)
HSLhsl(85, 72%, 17%)
HSVhsv(85, 84%, 29%)
CMYKcmyk(34.7%, 0%, 84%, 70.6%)
CIE-LABlab(28.67, -20.85, 31.94)
CIE-LCHlch(28.67, 38.14, 123.14°)
OKLaboklab(37.81% -0.0594 0.0709)
OKLCHoklch(37.81% 0.093 130)
XYZxyz(3.8490, 5.7115, 1.2474)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B0C #260C4B
analogous
#4B460C #314B0C #124B0C
triadic
#314B0C #0C314B #4B0C31
tetradic
#314B0C #0C4B46 #260C4B #4B0C12
square
#314B0C #0C4B46 #260C4B #4B0C12
split-complementary
#314B0C #0C124B #460C4B
monochromatic
#111A04 #111A04 #314B0C #538014 #76B51D

Accessibility & contrast

On white

9.80
#314B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#314B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B0C
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B0C#FFFFFF#000000##FFFFFF
##314B0C1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#4B4312
Tritanopia (blue-blind)
#33473F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314b0c;
/* rgb */ color: rgb(49, 75, 12);
/* oklch */ color: oklch(37.8% 0.093 130.0);
Tailwind
colors: {
  custom: {
    50: '#6c7d50',
    500: '#314b0c',
    950: '#000000',
  },
}
SCSS
$custom: #314b0c;
$custom-light: #6c7d50;
$custom-dark: #000000;
JSON
{
  "hex": "#314b0c",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 84.762,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37808,
    "c": 0.09251,
    "h": 130
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#314B0C
secondary
#512C87
accent
#39EF84
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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