#314215#314215

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

Color values

HEX#314215
RGBrgb(49, 66, 21)
HSLhsl(83, 52%, 17%)
HSVhsv(83, 68%, 26%)
CMYKcmyk(25.8%, 0%, 68.2%, 74.1%)
CIE-LABlab(25.57, -15.26, 24.59)
CIE-LCHlch(25.57, 28.94, 121.82°)
OKLaboklab(35.32% -0.0432 0.0569)
OKLCHoklch(35.32% 0.071 127.2)
XYZxyz(3.3502, 4.6035, 1.4214)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314215 #261542
analogous
#423D15 #314215 #1B4215
triadic
#314215 #153142 #421531
tetradic
#314215 #15423D #261542 #42151B
square
#314215 #15423D #261542 #42151B
split-complementary
#314215 #151B42 #3D1542
monochromatic
#111707 #111707 #314215 #537024 #769F33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314215#FFFFFF#000000##FFFFFF
##3142151.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)
#463D10
Deuteranopia (green-blind)
#433C18
Tritanopia (blue-blind)
#333F38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #314215;
/* rgb */ color: rgb(49, 66, 21);
/* oklch */ color: oklch(35.3% 0.071 127.2);
Tailwind
colors: {
  custom: {
    50: '#6b7654',
    500: '#314215',
    950: '#000000',
  },
}
SCSS
$custom: #314215;
$custom-light: #6b7654;
$custom-dark: #000000;
JSON
{
  "hex": "#314215",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 21
  },
  "hsl": {
    "h": 82.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35317,
    "c": 0.07148,
    "h": 127.2
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#314215
secondary
#51397A
accent
#4DDB82
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#070803
muted
#7A7B78

Preview Lab

Preview with #314215

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

Preview Lab → · Contrast checker → · Palette generator →

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