#314412#314412

#314412 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.9% C 0.077 H 127.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#314412
RGBrgb(49, 68, 18)
HSLhsl(83, 58%, 17%)
HSVhsv(83, 74%, 27%)
CMYKcmyk(27.9%, 0%, 73.5%, 73.3%)
CIE-LABlab(26.25, -16.66, 26.86)
CIE-LCHlch(26.25, 31.61, 121.82°)
OKLaboklab(35.85% -0.0474 0.0613)
OKLCHoklch(35.85% 0.078 127.7)
XYZxyz(3.4429, 4.8308, 1.3232)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314412 #251244
analogous
#443E12 #314412 #184412
triadic
#314412 #123144 #441231
tetradic
#314412 #12443E #251244 #441218
square
#314412 #12443E #251244 #441218
split-complementary
#314412 #121844 #3E1244
monochromatic
#111806 #111806 #314412 #54741F #77A52C

Accessibility & contrast

On white

10.68
#314412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#314412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314412
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314412#FFFFFF#000000##FFFFFF
##3144121.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0B
Deuteranopia (green-blind)
#453E16
Tritanopia (blue-blind)
#33413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #314412;
/* rgb */ color: rgb(49, 68, 18);
/* oklch */ color: oklch(35.9% 0.077 127.7);
Tailwind
colors: {
  custom: {
    50: '#6b7853',
    500: '#314412',
    950: '#000000',
  },
}
SCSS
$custom: #314412;
$custom-light: #6b7853;
$custom-dark: #000000;
JSON
{
  "hex": "#314412",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 82.8,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35852,
    "c": 0.0775,
    "h": 127.7
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#314412
secondary
#50357D
accent
#46E181
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #314412

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

Preview Lab → · Contrast checker → · Palette generator →

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