#315911#315911

#315911 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.9% C 0.109 H 134.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#315911
RGBrgb(49, 89, 17)
HSLhsl(93, 68%, 21%)
HSVhsv(93, 81%, 35%)
CMYKcmyk(44.9%, 0%, 80.9%, 65.1%)
CIE-LABlab(33.64, -27.38, 34.81)
CIE-LCHlch(33.64, 44.29, 128.19°)
OKLaboklab(41.88% -0.0767 0.0778)
OKLCHoklch(41.88% 0.109 134.6)
XYZxyz(4.9401, 7.8379, 1.7828)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315911 #391159
analogous
#555911 #315911 #115915
triadic
#315911 #113159 #591131
tetradic
#315911 #115559 #391159 #591511
square
#315911 #115559 #391159 #591511
split-complementary
#315911 #151159 #591155
monochromatic
#0E1A05 #152607 #315911 #4D8C1B #6AC025

Accessibility & contrast

On white

8.18
#315911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#315911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315911
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315911#FFFFFF#000000##FFFFFF
##3159111.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5103
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#30554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #315911;
/* rgb */ color: rgb(49, 89, 17);
/* oklch */ color: oklch(41.9% 0.109 134.6);
Tailwind
colors: {
  custom: {
    50: '#6d8855',
    500: '#315911',
    950: '#000000',
  },
}
SCSS
$custom: #315911;
$custom-light: #6d8855;
$custom-dark: #000000;
JSON
{
  "hex": "#315911",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 93.333,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4188,
    "c": 0.10923,
    "h": 134.6
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#315911
secondary
#683492
accent
#3DEB9E
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315911

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

Preview Lab → · Contrast checker → · Palette generator →

#315911 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva