#314B13#314B13

#314B13 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.9% C 0.087 H 131.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#314B13
RGBrgb(49, 75, 19)
HSLhsl(88, 60%, 18%)
HSVhsv(88, 75%, 29%)
CMYKcmyk(34.7%, 0%, 74.7%, 70.6%)
CIE-LABlab(28.73, -20.33, 28.99)
CIE-LCHlch(28.73, 35.41, 125.04°)
OKLaboklab(37.87% -0.0573 0.066)
OKLCHoklch(37.87% 0.087 131)
XYZxyz(3.9002, 5.7320, 1.5169)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B13 #2D134B
analogous
#4B4913 #314B13 #154B13
triadic
#314B13 #13314B #4B1331
tetradic
#314B13 #134B49 #2D134B #4B1315
square
#314B13 #134B49 #2D134B #4B1315
split-complementary
#314B13 #13154B #49134B
monochromatic
#101806 #111A07 #314B13 #517C1F #71AD2C

Accessibility & contrast

On white

9.78
#314B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#314B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B13
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B13#FFFFFF#000000##FFFFFF
##314B131.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450B
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#324840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314b13;
/* rgb */ color: rgb(49, 75, 19);
/* oklch */ color: oklch(37.9% 0.087 131.0);
Tailwind
colors: {
  custom: {
    50: '#6c7d54',
    500: '#314b13',
    950: '#000000',
  },
}
SCSS
$custom: #314b13;
$custom-light: #6c7d54;
$custom-dark: #000000;
JSON
{
  "hex": "#314b13",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 19
  },
  "hsl": {
    "h": 87.857,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37869,
    "c": 0.08739,
    "h": 131
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#314B13
secondary
#5A3684
accent
#45E38E
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314B13

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

Preview Lab → · Contrast checker → · Palette generator →

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