#314008#314008

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

Color values

HEX#314008
RGBrgb(49, 64, 8)
HSLhsl(76, 78%, 14%)
HSVhsv(76, 88%, 25%)
CMYKcmyk(23.4%, 0%, 87.5%, 74.9%)
CIE-LABlab(24.76, -15.17, 29.79)
CIE-LCHlch(24.76, 33.43, 116.99°)
OKLaboklab(34.62% -0.0443 0.0657)
OKLCHoklch(34.62% 0.079 124)
XYZxyz(3.1439, 4.3373, 0.9012)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314008 #170840
analogous
#403308 #314008 #154008
triadic
#314008 #083140 #400831
tetradic
#314008 #084033 #170840 #400815
square
#314008 #084033 #170840 #400815
split-complementary
#314008 #081540 #330840
monochromatic
#151B03 #151B03 #314008 #5B760F #84AD16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314008#FFFFFF#000000##FFFFFF
##3140081.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)
#343C36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #314008;
/* rgb */ color: rgb(49, 64, 8);
/* oklch */ color: oklch(34.6% 0.079 124.0);
Tailwind
colors: {
  custom: {
    50: '#6b744d',
    500: '#314008',
    950: '#000000',
  },
}
SCSS
$custom: #314008;
$custom-light: #6b744d;
$custom-dark: #000000;
JSON
{
  "hex": "#314008",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 8
  },
  "hsl": {
    "h": 76.071,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3462,
    "c": 0.07923,
    "h": 124
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#314008
secondary
#3D257E
accent
#34F467
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #314008

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

Preview Lab → · Contrast checker → · Palette generator →

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