#314012#314012

#314012 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.071 H 125.3°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#314012
RGBrgb(49, 64, 18)
HSLhsl(80, 56%, 16%)
HSVhsv(80, 72%, 25%)
CMYKcmyk(23.4%, 0%, 71.9%, 74.9%)
CIE-LABlab(24.84, -14.42, 25.35)
CIE-LCHlch(24.84, 29.16, 119.64°)
OKLaboklab(34.71% -0.0412 0.0581)
OKLCHoklch(34.71% 0.071 125.3)
XYZxyz(3.2092, 4.3634, 1.2453)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314012 #211240
analogous
#403812 #314012 #1A4012
triadic
#314012 #123140 #401231
tetradic
#314012 #124038 #211240 #40121A
square
#314012 #124038 #211240 #40121A
split-complementary
#314012 #121A40 #381240
monochromatic
#121807 #121807 #314012 #56701F #7AA02D

Accessibility & contrast

On white

11.21
#314012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#314012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314012
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314012#FFFFFF#000000##FFFFFF
##3140121.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B0C
Deuteranopia (green-blind)
#423B15
Tritanopia (blue-blind)
#333D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #314012;
/* rgb */ color: rgb(49, 64, 18);
/* oklch */ color: oklch(34.7% 0.071 125.3);
Tailwind
colors: {
  custom: {
    50: '#6b7452',
    500: '#314012',
    950: '#000000',
  },
}
SCSS
$custom: #314012;
$custom-light: #6b7452;
$custom-dark: #000000;
JSON
{
  "hex": "#314012",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 79.565,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34712,
    "c": 0.07125,
    "h": 125.3
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#314012
secondary
#4B3579
accent
#48DF7A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #314012

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

Preview Lab → · Contrast checker → · Palette generator →

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