#315E13#315E13

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

Color values

HEX#315E13
RGBrgb(49, 94, 19)
HSLhsl(96, 66%, 22%)
HSVhsv(96, 80%, 37%)
CMYKcmyk(47.9%, 0%, 79.8%, 63.1%)
CIE-LABlab(35.41, -29.54, 35.76)
CIE-LCHlch(35.41, 46.38, 129.56°)
OKLaboklab(43.33% -0.0823 0.0801)
OKLCHoklch(43.33% 0.115 135.8)
XYZxyz(5.3867, 8.7051, 2.0124)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E13 #40135E
analogous
#575E13 #315E13 #135E1B
triadic
#315E13 #13315E #5E1331
tetradic
#315E13 #13575E #40135E #5E1B13
square
#315E13 #13575E #40135E #5E1B13
split-complementary
#315E13 #1B135E #5E1357
monochromatic
#0D1905 #162B09 #315E13 #4C911D #66C428

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315E13#FFFFFF#000000##FFFFFF
##315E131.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)
#625604
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#2F5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e13;
/* rgb */ color: rgb(49, 94, 19);
/* oklch */ color: oklch(43.3% 0.115 135.8);
Tailwind
colors: {
  custom: {
    50: '#6e8c57',
    500: '#315e13',
    950: '#000000',
  },
}
SCSS
$custom: #315e13;
$custom-light: #6e8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#315e13",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 96,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43333,
    "c": 0.11489,
    "h": 135.8
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#315E13
secondary
#703796
accent
#3FE9A5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #315E13

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

Preview Lab → · Contrast checker → · Palette generator →

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