#314810#314810

#314810 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 37.0% C 0.085 H 129.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#314810
RGBrgb(49, 72, 16)
HSLhsl(85, 64%, 17%)
HSVhsv(85, 78%, 28%)
CMYKcmyk(31.9%, 0%, 77.8%, 71.8%)
CIE-LABlab(27.64, -19.00, 29.25)
CIE-LCHlch(27.64, 34.88, 123.00°)
OKLaboklab(36.98% -0.054 0.066)
OKLCHoklch(36.98% 0.085 129.3)
XYZxyz(3.6775, 5.3250, 1.3242)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314810 #271048
analogous
#484310 #314810 #154810
triadic
#314810 #103148 #481031
tetradic
#314810 #104843 #271048 #481015
square
#314810 #104843 #271048 #481015
split-complementary
#314810 #101548 #431048
monochromatic
#111906 #111906 #314810 #537A1B #75AC26

Accessibility & contrast

On white

10.17
#314810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#314810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314810
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314810#FFFFFF#000000##FFFFFF
##3148101.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4207
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#33453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #314810;
/* rgb */ color: rgb(49, 72, 16);
/* oklch */ color: oklch(37.0% 0.085 129.3);
Tailwind
colors: {
  custom: {
    50: '#6b7b52',
    500: '#314810',
    950: '#000000',
  },
}
SCSS
$custom: #314810;
$custom-light: #6b7b52;
$custom-dark: #000000;
JSON
{
  "hex": "#314810",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 84.643,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36978,
    "c": 0.08528,
    "h": 129.3
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#314810
secondary
#533282
accent
#41E785
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314810

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

Preview Lab → · Contrast checker → · Palette generator →

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