#314913#314913

#314913 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.084 H 130.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#314913
RGBrgb(49, 73, 19)
HSLhsl(87, 59%, 18%)
HSVhsv(87, 74%, 29%)
CMYKcmyk(32.9%, 0%, 74%, 71.4%)
CIE-LABlab(28.02, -19.27, 28.25)
CIE-LCHlch(28.02, 34.20, 124.31°)
OKLaboklab(37.3% -0.0545 0.0644)
OKLCHoklch(37.3% 0.084 130.2)
XYZxyz(3.7667, 5.4650, 1.4724)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314913 #2B1349
analogous
#494613 #314913 #164913
triadic
#314913 #133149 #491331
tetradic
#314913 #134946 #2B1349 #491316
square
#314913 #134946 #2B1349 #491316
split-complementary
#314913 #131649 #461349
monochromatic
#101806 #101806 #314913 #527A20 #72AA2C

Accessibility & contrast

On white

10.03
#314913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#314913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314913
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314913#FFFFFF#000000##FFFFFF
##3149131.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430C
Deuteranopia (green-blind)
#494217
Tritanopia (blue-blind)
#32463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #314913;
/* rgb */ color: rgb(49, 73, 19);
/* oklch */ color: oklch(37.3% 0.084 130.2);
Tailwind
colors: {
  custom: {
    50: '#6b7c54',
    500: '#314913',
    950: '#000000',
  },
}
SCSS
$custom: #314913;
$custom-light: #6b7c54;
$custom-dark: #000000;
JSON
{
  "hex": "#314913",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 19
  },
  "hsl": {
    "h": 86.667,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37295,
    "c": 0.08434,
    "h": 130.2
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#314913
secondary
#583682
accent
#46E28B
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314913

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

Preview Lab → · Contrast checker → · Palette generator →

#314913 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva