#315E15#315E15

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

Color values

HEX#315E15
RGBrgb(49, 94, 21)
HSLhsl(97, 63%, 23%)
HSVhsv(97, 78%, 37%)
CMYKcmyk(47.9%, 0%, 77.7%, 63.1%)
CIE-LABlab(35.42, -29.39, 34.97)
CIE-LCHlch(35.42, 45.68, 130.04°)
OKLaboklab(43.35% -0.0818 0.0788)
OKLCHoklch(43.35% 0.114 136.1)
XYZxyz(5.4045, 8.7122, 2.1062)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E15 #42155E
analogous
#565E15 #315E15 #155E1D
triadic
#315E15 #15315E #5E1531
tetradic
#315E15 #15565E #42155E #5E1D15
square
#315E15 #15565E #42155E #5E1D15
split-complementary
#315E15 #1D155E #5E1556
monochromatic
#0D1906 #172C0A #315E15 #4B9020 #65C22B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315E15#FFFFFF#000000##FFFFFF
##315E151.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)
#625608
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#2F5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e15;
/* rgb */ color: rgb(49, 94, 21);
/* oklch */ color: oklch(43.3% 0.114 136.1);
Tailwind
colors: {
  custom: {
    50: '#6e8c58',
    500: '#315e15',
    950: '#000000',
  },
}
SCSS
$custom: #315e15;
$custom-light: #6e8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#315e15",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 96.986,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43349,
    "c": 0.11357,
    "h": 136.1
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#315E15
secondary
#723995
accent
#41E7A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #315E15

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

Preview Lab → · Contrast checker → · Palette generator →

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