#314213#314213

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

Color values

HEX#314213
RGBrgb(49, 66, 19)
HSLhsl(82, 55%, 17%)
HSVhsv(82, 71%, 26%)
CMYKcmyk(25.8%, 0%, 71.2%, 74.1%)
CIE-LABlab(25.55, -15.46, 25.61)
CIE-LCHlch(25.55, 29.91, 121.12°)
OKLaboklab(35.29% -0.044 0.0588)
OKLCHoklch(35.29% 0.073 126.8)
XYZxyz(3.3324, 4.5964, 1.3276)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314213 #241342
analogous
#423C13 #314213 #1A4213
triadic
#314213 #133142 #421331
tetradic
#314213 #13423C #241342 #42131A
square
#314213 #13423C #241342 #42131A
split-complementary
#314213 #131A42 #3C1342
monochromatic
#121807 #121807 #314213 #547221 #78A12E

Accessibility & contrast

On white

10.94
#314213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314213
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314213#FFFFFF#000000##FFFFFF
##3142131.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D0D
Deuteranopia (green-blind)
#433C16
Tritanopia (blue-blind)
#333F38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #314213;
/* rgb */ color: rgb(49, 66, 19);
/* oklch */ color: oklch(35.3% 0.073 126.8);
Tailwind
colors: {
  custom: {
    50: '#6b7653',
    500: '#314213',
    950: '#000000',
  },
}
SCSS
$custom: #314213;
$custom-light: #6b7653;
$custom-dark: #000000;
JSON
{
  "hex": "#314213",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 19
  },
  "hsl": {
    "h": 81.702,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35293,
    "c": 0.07344,
    "h": 126.8
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#314213
secondary
#4F367B
accent
#49DF7F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #314213

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

Preview Lab → · Contrast checker → · Palette generator →

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