#315F13#315F13

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

Color values

HEX#315F13
RGBrgb(49, 95, 19)
HSLhsl(96, 67%, 22%)
HSVhsv(96, 80%, 37%)
CMYKcmyk(48.4%, 0%, 80%, 62.7%)
CIE-LABlab(35.76, -29.99, 36.10)
CIE-LCHlch(35.76, 46.93, 129.71°)
OKLaboklab(43.62% -0.0835 0.0808)
OKLCHoklch(43.62% 0.116 135.9)
XYZxyz(5.4762, 8.8841, 2.0422)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F13 #41135F
analogous
#575F13 #315F13 #135F1B
triadic
#315F13 #13315F #5F1331
tetradic
#315F13 #13575F #41135F #5F1B13
square
#315F13 #13575F #41135F #5F1B13
split-complementary
#315F13 #1B135F #5F1357
monochromatic
#0D1A05 #172C09 #315F13 #4B921D #66C527

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315F13#FFFFFF#000000##FFFFFF
##315F131.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)
#635604
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#2F5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315f13;
/* rgb */ color: rgb(49, 95, 19);
/* oklch */ color: oklch(43.6% 0.116 135.9);
Tailwind
colors: {
  custom: {
    50: '#6e8d57',
    500: '#315f13',
    950: '#000000',
  },
}
SCSS
$custom: #315f13;
$custom-light: #6e8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#315f13",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 96.316,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4362,
    "c": 0.11626,
    "h": 135.9
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#315F13
secondary
#713797
accent
#3EEAA6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #315F13

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

Preview Lab → · Contrast checker → · Palette generator →

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