#314515#314515

#314515 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.076 H 128.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#314515
RGBrgb(49, 69, 21)
HSLhsl(85, 53%, 18%)
HSVhsv(85, 70%, 27%)
CMYKcmyk(29%, 0%, 69.6%, 72.9%)
CIE-LABlab(26.63, -16.93, 25.76)
CIE-LCHlch(26.63, 30.82, 123.32°)
OKLaboklab(36.17% -0.0478 0.0594)
OKLCHoklch(36.17% 0.076 128.8)
XYZxyz(3.5301, 4.9633, 1.4813)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314515 #291545
analogous
#454115 #314515 #194515
triadic
#314515 #153145 #451531
tetradic
#314515 #154541 #291545 #451519
square
#314515 #154541 #291545 #451519
split-complementary
#314515 #151945 #411545
monochromatic
#111707 #111707 #314515 #527423 #74A332

Accessibility & contrast

On white

10.54
#314515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#314515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314515
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314515#FFFFFF#000000##FFFFFF
##3145151.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400F
Deuteranopia (green-blind)
#463F19
Tritanopia (blue-blind)
#33423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #314515;
/* rgb */ color: rgb(49, 69, 21);
/* oklch */ color: oklch(36.2% 0.076 128.8);
Tailwind
colors: {
  custom: {
    50: '#6b7855',
    500: '#314515',
    950: '#000000',
  },
}
SCSS
$custom: #314515;
$custom-light: #6b7855;
$custom-dark: #000000;
JSON
{
  "hex": "#314515",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 21
  },
  "hsl": {
    "h": 85,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36172,
    "c": 0.07628,
    "h": 128.8
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#314515
secondary
#55397D
accent
#4BDD88
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314515

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

Preview Lab → · Contrast checker → · Palette generator →

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