#314112#314112

#314112 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.073 H 126.0°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#314112
RGBrgb(49, 65, 18)
HSLhsl(80, 57%, 16%)
HSVhsv(80, 72%, 25%)
CMYKcmyk(24.6%, 0%, 72.3%, 74.5%)
CIE-LABlab(25.19, -14.99, 25.73)
CIE-LCHlch(25.19, 29.78, 120.22°)
OKLaboklab(35% -0.0428 0.0589)
OKLCHoklch(35% 0.073 126)
XYZxyz(3.2661, 4.4772, 1.2643)
Luminance0.0448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314112 #221241
analogous
#413A12 #314112 #1A4112
triadic
#314112 #123141 #411231
tetradic
#314112 #12413A #221241 #41121A
square
#314112 #12413A #221241 #41121A
split-complementary
#314112 #121A41 #3A1241
monochromatic
#121807 #121807 #314112 #55711F #79A12D

Accessibility & contrast

On white

11.08
#314112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#314112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314112
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314112#FFFFFF#000000##FFFFFF
##3141121.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C0C
Deuteranopia (green-blind)
#433B16
Tritanopia (blue-blind)
#333E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #314112;
/* rgb */ color: rgb(49, 65, 18);
/* oklch */ color: oklch(35.0% 0.073 126.0);
Tailwind
colors: {
  custom: {
    50: '#6b7552',
    500: '#314112',
    950: '#000000',
  },
}
SCSS
$custom: #314112;
$custom-light: #6b7552;
$custom-dark: #000000;
JSON
{
  "hex": "#314112",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 18
  },
  "hsl": {
    "h": 80.426,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34997,
    "c": 0.07282,
    "h": 126
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#314112
secondary
#4C357A
accent
#48E07C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #314112

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

Preview Lab → · Contrast checker → · Palette generator →

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