#314512#314512

#314512 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.1% C 0.079 H 128.2°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#314512
RGBrgb(49, 69, 18)
HSLhsl(84, 59%, 17%)
HSVhsv(84, 74%, 27%)
CMYKcmyk(29%, 0%, 73.9%, 72.9%)
CIE-LABlab(26.60, -17.21, 27.23)
CIE-LCHlch(26.60, 32.22, 122.29°)
OKLaboklab(36.14% -0.0489 0.0621)
OKLCHoklch(36.14% 0.079 128.2)
XYZxyz(3.5039, 4.9528, 1.3435)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314512 #261245
analogous
#454012 #314512 #184512
triadic
#314512 #123145 #451231
tetradic
#314512 #124540 #261245 #451218
square
#314512 #124540 #261245 #451218
split-complementary
#314512 #121845 #401245
monochromatic
#111806 #111806 #314512 #53761F #76A62B

Accessibility & contrast

On white

10.55
#314512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#314512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314512
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314512#FFFFFF#000000##FFFFFF
##3145121.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400B
Deuteranopia (green-blind)
#463E16
Tritanopia (blue-blind)
#33423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #314512;
/* rgb */ color: rgb(49, 69, 18);
/* oklch */ color: oklch(36.1% 0.079 128.2);
Tailwind
colors: {
  custom: {
    50: '#6b7853',
    500: '#314512',
    950: '#000000',
  },
}
SCSS
$custom: #314512;
$custom-light: #6b7853;
$custom-dark: #000000;
JSON
{
  "hex": "#314512",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 83.529,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36138,
    "c": 0.07904,
    "h": 128.2
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#314512
secondary
#51357E
accent
#46E283
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314512

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

Preview Lab → · Contrast checker → · Palette generator →

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