#314216#314216

#314216 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.3% C 0.070 H 127.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#314216
RGBrgb(49, 66, 22)
HSLhsl(83, 50%, 17%)
HSVhsv(83, 67%, 26%)
CMYKcmyk(25.8%, 0%, 66.7%, 74.1%)
CIE-LABlab(25.59, -15.16, 24.06)
CIE-LCHlch(25.59, 28.44, 122.20°)
OKLaboklab(35.33% -0.0428 0.056)
OKLCHoklch(35.33% 0.07 127.4)
XYZxyz(3.3596, 4.6073, 1.4712)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314216 #271642
analogous
#423D16 #314216 #1B4216
triadic
#314216 #163142 #421631
tetradic
#314216 #16423D #271642 #42161B
square
#314216 #16423D #271642 #42161B
split-complementary
#314216 #161B42 #3D1642
monochromatic
#111708 #111708 #314216 #537025 #759E35

Accessibility & contrast

On white

10.93
#314216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#314216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314216
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314216#FFFFFF#000000##FFFFFF
##3142161.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D11
Deuteranopia (green-blind)
#433C19
Tritanopia (blue-blind)
#333F39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #314216;
/* rgb */ color: rgb(49, 66, 22);
/* oklch */ color: oklch(35.3% 0.070 127.4);
Tailwind
colors: {
  custom: {
    50: '#6b7655',
    500: '#314216',
    950: '#000000',
  },
}
SCSS
$custom: #314216;
$custom-light: #6b7655;
$custom-dark: #000000;
JSON
{
  "hex": "#314216",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 22
  },
  "hsl": {
    "h": 83.182,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3533,
    "c": 0.07046,
    "h": 127.4
  },
  "luminance": 0.04607
}

Semantic roles & 50–950 ramp

primary
#314216
secondary
#533A79
accent
#4EDA84
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070803
muted
#7A7B78

Preview Lab

Preview with #314216

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

Preview Lab → · Contrast checker → · Palette generator →

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