#314107#314107

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

Color values

HEX#314107
RGBrgb(49, 65, 7)
HSLhsl(77, 81%, 14%)
HSVhsv(77, 89%, 25%)
CMYKcmyk(24.6%, 0%, 89.2%, 74.5%)
CIE-LABlab(25.10, -15.80, 30.53)
CIE-LCHlch(25.10, 34.38, 117.36°)
OKLaboklab(34.9% -0.0461 0.067)
OKLCHoklch(34.9% 0.081 124.5)
XYZxyz(3.1953, 4.4489, 0.8913)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314107 #170741
analogous
#413407 #314107 #144107
triadic
#314107 #073141 #410731
tetradic
#314107 #074134 #170741 #410714
square
#314107 #074134 #170741 #410714
split-complementary
#314107 #071441 #340741
monochromatic
#151C03 #151C03 #314107 #5B780D #84B013

Accessibility & contrast

On white

11.11
#314107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314107
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314107#FFFFFF#000000##FFFFFF
##3141071.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314107;
/* rgb */ color: rgb(49, 65, 7);
/* oklch */ color: oklch(34.9% 0.081 124.5);
Tailwind
colors: {
  custom: {
    50: '#6b754c',
    500: '#314107',
    950: '#000000',
  },
}
SCSS
$custom: #314107;
$custom-light: #6b754c;
$custom-dark: #000000;
JSON
{
  "hex": "#314107",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 76.552,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34898,
    "c": 0.08135,
    "h": 124.5
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#314107
secondary
#3D2480
accent
#31F767
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #314107

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

Preview Lab → · Contrast checker → · Palette generator →

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