#314811#314811

#314811 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 37.0% C 0.084 H 129.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#314811
RGBrgb(49, 72, 17)
HSLhsl(85, 62%, 17%)
HSVhsv(85, 76%, 28%)
CMYKcmyk(31.9%, 0%, 76.4%, 71.8%)
CIE-LABlab(27.65, -18.92, 28.80)
CIE-LCHlch(27.65, 34.46, 123.30°)
OKLaboklab(36.99% -0.0537 0.0652)
OKLCHoklch(36.99% 0.084 129.5)
XYZxyz(3.6851, 5.3281, 1.3645)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314811 #281148
analogous
#484411 #314811 #154811
triadic
#314811 #113148 #481131
tetradic
#314811 #114844 #281148 #481115
square
#314811 #114844 #281148 #481115
split-complementary
#314811 #111548 #441148
monochromatic
#111906 #111906 #314811 #537A1D #74AB28

Accessibility & contrast

On white

10.17
#314811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#314811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314811
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314811#FFFFFF#000000##FFFFFF
##3148111.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4209
Deuteranopia (green-blind)
#494116
Tritanopia (blue-blind)
#33453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #314811;
/* rgb */ color: rgb(49, 72, 17);
/* oklch */ color: oklch(37.0% 0.084 129.5);
Tailwind
colors: {
  custom: {
    50: '#6b7b53',
    500: '#314811',
    950: '#000000',
  },
}
SCSS
$custom: #314811;
$custom-light: #6b7b53;
$custom-dark: #000000;
JSON
{
  "hex": "#314811",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 85.091,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36988,
    "c": 0.08448,
    "h": 129.5
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#314811
secondary
#543382
accent
#43E587
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314811

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

Preview Lab → · Contrast checker → · Palette generator →

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