#314C22#314C22

#314C22 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.4% C 0.074 H 135.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#314C22
RGBrgb(49, 76, 34)
HSLhsl(99, 38%, 22%)
HSVhsv(99, 55%, 30%)
CMYKcmyk(35.5%, 0%, 55.3%, 70.2%)
CIE-LABlab(29.25, -19.14, 21.63)
CIE-LCHlch(29.25, 28.88, 131.50°)
OKLaboklab(38.35% -0.0527 0.0519)
OKLCHoklch(38.35% 0.074 135.5)
XYZxyz(4.1397, 5.9372, 2.4409)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C22 #3D224C
analogous
#464C22 #314C22 #224C28
triadic
#314C22 #22314C #4C2231
tetradic
#314C22 #22464C #3D224C #4C2822
square
#314C22 #22464C #3D224C #4C2822
split-complementary
#314C22 #28224C #4C2246
monochromatic
#0E1509 #16220F #314C22 #4C7635 #68A148

Accessibility & contrast

On white

9.60
#314C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#314C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C22
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C22#FFFFFF#000000##FFFFFF
##314C221.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461E
Deuteranopia (green-blind)
#4B4425
Tritanopia (blue-blind)
#314942
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314c22;
/* rgb */ color: rgb(49, 76, 34);
/* oklch */ color: oklch(38.4% 0.074 135.5);
Tailwind
colors: {
  custom: {
    50: '#6b7e5e',
    500: '#314c22',
    950: '#000000',
  },
}
SCSS
$custom: #314c22;
$custom-light: #6b7e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#314c22",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 34
  },
  "hsl": {
    "h": 98.571,
    "s": 38.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38354,
    "c": 0.074,
    "h": 135.5
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#314C22
secondary
#6D4A80
accent
#5ACEA5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #314C22

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

Preview Lab → · Contrast checker → · Palette generator →

#314C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva