#314510#314510

#314510 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.1% C 0.081 H 127.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#314510
RGBrgb(49, 69, 16)
HSLhsl(83, 62%, 17%)
HSVhsv(83, 77%, 27%)
CMYKcmyk(29%, 0%, 76.8%, 72.9%)
CIE-LABlab(26.58, -17.38, 28.17)
CIE-LCHlch(26.58, 33.10, 121.68°)
OKLaboklab(36.12% -0.0496 0.0637)
OKLCHoklch(36.12% 0.081 127.9)
XYZxyz(3.4883, 4.9465, 1.2611)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314510 #241045
analogous
#453F10 #314510 #164510
triadic
#314510 #103145 #451031
tetradic
#314510 #10453F #241045 #451016
square
#314510 #10453F #241045 #451016
split-complementary
#314510 #101645 #3F1045
monochromatic
#121906 #121906 #314510 #54771C #78A827

Accessibility & contrast

On white

10.56
#314510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#314510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314510
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314510#FFFFFF#000000##FFFFFF
##3145101.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494008
Deuteranopia (green-blind)
#463E14
Tritanopia (blue-blind)
#33423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #314510;
/* rgb */ color: rgb(49, 69, 16);
/* oklch */ color: oklch(36.1% 0.081 127.9);
Tailwind
colors: {
  custom: {
    50: '#6b7852',
    500: '#314510',
    950: '#000000',
  },
}
SCSS
$custom: #314510;
$custom-light: #6b7852;
$custom-dark: #000000;
JSON
{
  "hex": "#314510",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 16
  },
  "hsl": {
    "h": 82.642,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36118,
    "c": 0.08074,
    "h": 127.9
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#314510
secondary
#4F327F
accent
#42E580
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314510

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

Preview Lab → · Contrast checker → · Palette generator →

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