#314211#314211

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

Color values

HEX#314211
RGBrgb(49, 66, 17)
HSLhsl(81, 59%, 16%)
HSVhsv(81, 74%, 26%)
CMYKcmyk(25.8%, 0%, 74.2%, 74.1%)
CIE-LABlab(25.53, -15.64, 26.59)
CIE-LCHlch(25.53, 30.85, 120.46°)
OKLaboklab(35.27% -0.0447 0.0606)
OKLCHoklch(35.27% 0.075 126.4)
XYZxyz(3.3160, 4.5898, 1.2414)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314211 #221142
analogous
#423B11 #314211 #194211
triadic
#314211 #113142 #421131
tetradic
#314211 #11423B #221142 #421119
square
#314211 #11423B #221142 #421119
split-complementary
#314211 #111942 #3B1142
monochromatic
#121806 #121806 #314211 #55731E #79A32A

Accessibility & contrast

On white

10.95
#314211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314211
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314211#FFFFFF#000000##FFFFFF
##3142111.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D0A
Deuteranopia (green-blind)
#433C15
Tritanopia (blue-blind)
#333F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #314211;
/* rgb */ color: rgb(49, 66, 17);
/* oklch */ color: oklch(35.3% 0.075 126.4);
Tailwind
colors: {
  custom: {
    50: '#6b7652',
    500: '#314211',
    950: '#000000',
  },
}
SCSS
$custom: #314211;
$custom-light: #6b7652;
$custom-dark: #000000;
JSON
{
  "hex": "#314211",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 17
  },
  "hsl": {
    "h": 80.816,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35271,
    "c": 0.07529,
    "h": 126.4
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#314211
secondary
#4C337C
accent
#46E27C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #314211

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

Preview Lab → · Contrast checker → · Palette generator →

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