#315F11#315F11

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

Color values

HEX#315F11
RGBrgb(49, 95, 17)
HSLhsl(95, 70%, 22%)
HSVhsv(95, 82%, 37%)
CMYKcmyk(48.4%, 0%, 82.1%, 62.7%)
CIE-LABlab(35.75, -30.13, 36.84)
CIE-LCHlch(35.75, 47.59, 129.27°)
OKLaboklab(43.61% -0.0841 0.0821)
OKLCHoklch(43.61% 0.117 135.7)
XYZxyz(5.4599, 8.8775, 1.9560)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F11 #3F115F
analogous
#585F11 #315F11 #115F18
triadic
#315F11 #11315F #5F1131
tetradic
#315F11 #11585F #3F115F #5F1811
square
#315F11 #11585F #3F115F #5F1811
split-complementary
#315F11 #18115F #5F1158
monochromatic
#0D1A05 #162B08 #315F11 #4C931A #67C724

Accessibility & contrast

On white

7.57
#315F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315F11
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F11#FFFFFF#000000##FFFFFF
##315F111.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635601
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#2F5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315f11;
/* rgb */ color: rgb(49, 95, 17);
/* oklch */ color: oklch(43.6% 0.117 135.7);
Tailwind
colors: {
  custom: {
    50: '#6e8d56',
    500: '#315f11',
    950: '#000000',
  },
}
SCSS
$custom: #315f11;
$custom-light: #6e8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#315f11",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 95.385,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43606,
    "c": 0.11747,
    "h": 135.7
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#315F11
secondary
#6F3498
accent
#3BECA4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #315F11

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

Preview Lab → · Contrast checker → · Palette generator →

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