#314104#314104

#314104 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.9% C 0.083 H 124.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#314104
RGBrgb(49, 65, 4)
HSLhsl(76, 88%, 14%)
HSVhsv(76, 94%, 25%)
CMYKcmyk(24.6%, 0%, 93.8%, 74.5%)
CIE-LABlab(25.08, -15.99, 31.73)
CIE-LCHlch(25.08, 35.53, 116.74°)
OKLaboklab(34.88% -0.047 0.069)
OKLCHoklch(34.88% 0.083 124.2)
XYZxyz(3.1789, 4.4423, 0.8048)
Luminance0.0444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314104 #140441
analogous
#413204 #314104 #124104
triadic
#314104 #043141 #410431
tetradic
#314104 #044132 #140441 #410412
square
#314104 #044132 #140441 #410412
split-complementary
#314104 #041241 #320441
monochromatic
#161D02 #161D02 #314104 #5C7B08 #88B40B

Accessibility & contrast

On white

11.12
#314104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#314104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314104
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314104#FFFFFF#000000##FFFFFF
##3141041.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#433B0A
Tritanopia (blue-blind)
#343D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #314104;
/* rgb */ color: rgb(49, 65, 4);
/* oklch */ color: oklch(34.9% 0.083 124.2);
Tailwind
colors: {
  custom: {
    50: '#6c754b',
    500: '#314104',
    950: '#000000',
  },
}
SCSS
$custom: #314104;
$custom-light: #6c754b;
$custom-dark: #000000;
JSON
{
  "hex": "#314104",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 75.738,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34875,
    "c": 0.08346,
    "h": 124.2
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#314104
secondary
#391F82
accent
#29FF61
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #314104

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

Preview Lab → · Contrast checker → · Palette generator →

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