#315F14#315F14

#315F14 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.6% C 0.116 H 136.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#315F14
RGBrgb(49, 95, 20)
HSLhsl(97, 65%, 23%)
HSVhsv(97, 79%, 37%)
CMYKcmyk(48.4%, 0%, 78.9%, 62.7%)
CIE-LABlab(35.77, -29.91, 35.72)
CIE-LCHlch(35.77, 46.59, 129.95°)
OKLaboklab(43.63% -0.0833 0.0802)
OKLCHoklch(43.63% 0.116 136.1)
XYZxyz(5.4850, 8.8876, 2.0881)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F14 #42145F
analogous
#565F14 #315F14 #145F1D
triadic
#315F14 #14315F #5F1431
tetradic
#315F14 #14565F #42145F #5F1D14
square
#315F14 #14565F #42145F #5F1D14
split-complementary
#315F14 #1D145F #5F1456
monochromatic
#0D1905 #172C09 #315F14 #4B921F #65C429

Accessibility & contrast

On white

7.56
#315F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#315F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315F14
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F14#FFFFFF#000000##FFFFFF
##315F141.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635706
Deuteranopia (green-blind)
#5C531C
Tritanopia (blue-blind)
#2F5B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315f14;
/* rgb */ color: rgb(49, 95, 20);
/* oklch */ color: oklch(43.6% 0.116 136.1);
Tailwind
colors: {
  custom: {
    50: '#6e8d57',
    500: '#315f14',
    950: '#000000',
  },
}
SCSS
$custom: #315f14;
$custom-light: #6e8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#315f14",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 96.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43628,
    "c": 0.11562,
    "h": 136.1
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#315F14
secondary
#723897
accent
#40E8A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #315F14

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

Preview Lab → · Contrast checker → · Palette generator →

#315F14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva