#315E11#315E11

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

Color values

HEX#315E11
RGBrgb(49, 94, 17)
HSLhsl(95, 69%, 22%)
HSVhsv(95, 82%, 37%)
CMYKcmyk(47.9%, 0%, 81.9%, 63.1%)
CIE-LABlab(35.40, -29.68, 36.50)
CIE-LCHlch(35.40, 47.04, 129.11°)
OKLaboklab(43.32% -0.0829 0.0814)
OKLCHoklch(43.32% 0.116 135.5)
XYZxyz(5.3704, 8.6985, 1.9262)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E11 #3E115E
analogous
#585E11 #315E11 #115E18
triadic
#315E11 #11315E #5E1131
tetradic
#315E11 #11585E #3E115E #5E1811
square
#315E11 #11585E #3E115E #5E1811
split-complementary
#315E11 #18115E #5E1158
monochromatic
#0E1A05 #162A08 #315E11 #4C921A #67C624

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315E11#FFFFFF#000000##FFFFFF
##315E111.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)
#625601
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#2F5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e11;
/* rgb */ color: rgb(49, 94, 17);
/* oklch */ color: oklch(43.3% 0.116 135.5);
Tailwind
colors: {
  custom: {
    50: '#6e8c56',
    500: '#315e11',
    950: '#000000',
  },
}
SCSS
$custom: #315e11;
$custom-light: #6e8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#315e11",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 95.065,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43318,
    "c": 0.11612,
    "h": 135.5
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#315E11
secondary
#6E3497
accent
#3CECA3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #315E11

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

Preview Lab → · Contrast checker → · Palette generator →

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