#315E14#315E14

#315E14 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.3% C 0.114 H 135.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#315E14
RGBrgb(49, 94, 20)
HSLhsl(96, 65%, 22%)
HSVhsv(96, 79%, 37%)
CMYKcmyk(47.9%, 0%, 78.7%, 63.1%)
CIE-LABlab(35.42, -29.46, 35.37)
CIE-LCHlch(35.42, 46.04, 129.79°)
OKLaboklab(43.34% -0.0821 0.0795)
OKLCHoklch(43.34% 0.114 135.9)
XYZxyz(5.3955, 8.7086, 2.0583)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E14 #41145E
analogous
#565E14 #315E14 #145E1C
triadic
#315E14 #14315E #5E1431
tetradic
#315E14 #14565E #41145E #5E1C14
square
#315E14 #14565E #41145E #5E1C14
split-complementary
#315E14 #1C145E #5E1456
monochromatic
#0D1905 #172C09 #315E14 #4B901F #66C329

Accessibility & contrast

On white

7.66
#315E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#315E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315E14
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E14#FFFFFF#000000##FFFFFF
##315E141.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625606
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#2F5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e14;
/* rgb */ color: rgb(49, 94, 20);
/* oklch */ color: oklch(43.3% 0.114 135.9);
Tailwind
colors: {
  custom: {
    50: '#6e8c57',
    500: '#315e14',
    950: '#000000',
  },
}
SCSS
$custom: #315e14;
$custom-light: #6e8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#315e14",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 96.486,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.11424,
    "h": 135.9
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#315E14
secondary
#713896
accent
#40E8A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #315E14

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

Preview Lab → · Contrast checker → · Palette generator →

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