#314108#314108

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

Color values

HEX#314108
RGBrgb(49, 65, 8)
HSLhsl(77, 78%, 14%)
HSVhsv(77, 88%, 25%)
CMYKcmyk(24.6%, 0%, 87.7%, 74.5%)
CIE-LABlab(25.11, -15.73, 30.13)
CIE-LCHlch(25.11, 33.99, 117.57°)
OKLaboklab(34.91% -0.0459 0.0664)
OKLCHoklch(34.91% 0.081 124.6)
XYZxyz(3.2008, 4.4511, 0.9202)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314108 #180841
analogous
#413508 #314108 #154108
triadic
#314108 #083141 #410831
tetradic
#314108 #084135 #180841 #410815
square
#314108 #084135 #180841 #410815
split-complementary
#314108 #081541 #350841
monochromatic
#151B03 #151B03 #314108 #5A770F #83AE15

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314108#FFFFFF#000000##FFFFFF
##3141081.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)
#433B0E
Tritanopia (blue-blind)
#343D36
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #314108;
/* rgb */ color: rgb(49, 65, 8);
/* oklch */ color: oklch(34.9% 0.081 124.6);
Tailwind
colors: {
  custom: {
    50: '#6b754d',
    500: '#314108',
    950: '#000000',
  },
}
SCSS
$custom: #314108;
$custom-light: #6b754d;
$custom-dark: #000000;
JSON
{
  "hex": "#314108",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 76.842,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34906,
    "c": 0.08066,
    "h": 124.6
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#314108
secondary
#3F257F
accent
#33F569
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #314108

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

Preview Lab → · Contrast checker → · Palette generator →

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