#314608#314608

#314608 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.3% C 0.088 H 127.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#314608
RGBrgb(49, 70, 8)
HSLhsl(80, 79%, 15%)
HSVhsv(80, 89%, 27%)
CMYKcmyk(30%, 0%, 88.6%, 72.5%)
CIE-LABlab(26.88, -18.47, 31.77)
CIE-LCHlch(26.88, 36.74, 120.17°)
OKLaboklab(36.34% -0.0533 0.0698)
OKLCHoklch(36.34% 0.088 127.4)
XYZxyz(3.5006, 5.0507, 1.0201)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314608 #1D0846
analogous
#463C08 #314608 #124608
triadic
#314608 #083146 #460831
tetradic
#314608 #08463C #1D0846 #460812
square
#314608 #08463C #1D0846 #460812
split-complementary
#314608 #081246 #3C0846
monochromatic
#131B03 #131B03 #314608 #577D0E #7EB415

Accessibility & contrast

On white

10.45
#314608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#314608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314608
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314608#FFFFFF#000000##FFFFFF
##3146081.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#473F0F
Tritanopia (blue-blind)
#33423B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #314608;
/* rgb */ color: rgb(49, 70, 8);
/* oklch */ color: oklch(36.3% 0.088 127.4);
Tailwind
colors: {
  custom: {
    50: '#6c794e',
    500: '#314608',
    950: '#000000',
  },
}
SCSS
$custom: #314608;
$custom-light: #6c794e;
$custom-dark: #000000;
JSON
{
  "hex": "#314608",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 8
  },
  "hsl": {
    "h": 80.323,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.36341,
    "c": 0.08781,
    "h": 127.4
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#314608
secondary
#462684
accent
#32F674
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314608

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

Preview Lab → · Contrast checker → · Palette generator →

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