#314007#314007

#314007 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.080 H 123.9°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#314007
RGBrgb(49, 64, 7)
HSLhsl(76, 80%, 14%)
HSVhsv(76, 89%, 25%)
CMYKcmyk(23.4%, 0%, 89.1%, 74.9%)
CIE-LABlab(24.75, -15.24, 30.19)
CIE-LCHlch(24.75, 33.82, 116.78°)
OKLaboklab(34.61% -0.0446 0.0663)
OKLCHoklch(34.61% 0.08 123.9)
XYZxyz(3.1384, 4.3351, 0.8724)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314007 #160740
analogous
#403307 #314007 #154007
triadic
#314007 #073140 #400731
tetradic
#314007 #074033 #160740 #400715
square
#314007 #074033 #160740 #400715
split-complementary
#314007 #071540 #330740
monochromatic
#151C03 #151C03 #314007 #5B770D #85AE13

Accessibility & contrast

On white

11.25
#314007 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314007
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314007#FFFFFF#000000##FFFFFF
##3140071.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#423B0D
Tritanopia (blue-blind)
#343C35
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #314007;
/* rgb */ color: rgb(49, 64, 7);
/* oklch */ color: oklch(34.6% 0.080 123.9);
Tailwind
colors: {
  custom: {
    50: '#6b744c',
    500: '#314007',
    950: '#000000',
  },
}
SCSS
$custom: #314007;
$custom-light: #6b744c;
$custom-dark: #000000;
JSON
{
  "hex": "#314007",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 7
  },
  "hsl": {
    "h": 75.789,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34612,
    "c": 0.07994,
    "h": 123.9
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#314007
secondary
#3C247F
accent
#31F765
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #314007

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

Preview Lab → · Contrast checker → · Palette generator →

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