#315611#315611

#315611 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.105 H 133.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#315611
RGBrgb(49, 86, 17)
HSLhsl(92, 67%, 20%)
HSVhsv(92, 80%, 34%)
CMYKcmyk(43%, 0%, 80.2%, 66.3%)
CIE-LABlab(32.59, -25.97, 33.77)
CIE-LCHlch(32.59, 42.60, 127.56°)
OKLaboklab(41.02% -0.0728 0.0756)
OKLCHoklch(41.02% 0.105 133.9)
XYZxyz(4.6955, 7.3488, 1.7013)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315611 #361156
analogous
#535611 #315611 #115614
triadic
#315611 #113156 #561131
tetradic
#315611 #115356 #361156 #561411
square
#315611 #115356 #361156 #561411
split-complementary
#315611 #141156 #561153
monochromatic
#0F1A05 #142307 #315611 #4E891B #6BBC25

Accessibility & contrast

On white

8.50
#315611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#315611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315611
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315611#FFFFFF#000000##FFFFFF
##3156111.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#315249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #315611;
/* rgb */ color: rgb(49, 86, 17);
/* oklch */ color: oklch(41.0% 0.105 133.9);
Tailwind
colors: {
  custom: {
    50: '#6d8655',
    500: '#315611',
    950: '#000000',
  },
}
SCSS
$custom: #315611;
$custom-light: #6d8655;
$custom-dark: #000000;
JSON
{
  "hex": "#315611",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 17
  },
  "hsl": {
    "h": 92.174,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41016,
    "c": 0.10502,
    "h": 133.9
  },
  "luminance": 0.07349
}

Semantic roles & 50–950 ramp

primary
#315611
secondary
#65348F
accent
#3EEA9A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315611

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

Preview Lab → · Contrast checker → · Palette generator →

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