#315411#315411

#315411 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.102 H 133.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#315411
RGBrgb(49, 84, 17)
HSLhsl(91, 66%, 20%)
HSVhsv(91, 80%, 33%)
CMYKcmyk(41.7%, 0%, 79.8%, 67.1%)
CIE-LABlab(31.88, -25.01, 33.08)
CIE-LCHlch(31.88, 41.47, 127.09°)
OKLaboklab(40.44% -0.0703 0.0742)
OKLCHoklch(40.44% 0.102 133.4)
XYZxyz(4.5380, 7.0339, 1.6488)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315411 #341154
analogous
#535411 #315411 #115412
triadic
#315411 #113154 #541131
tetradic
#315411 #115354 #341154 #541211
square
#315411 #115354 #341154 #541211
split-complementary
#315411 #121154 #541153
monochromatic
#0F1905 #132107 #315411 #4F871B #6CBA26

Accessibility & contrast

On white

8.73
#315411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#315411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315411
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315411#FFFFFF#000000##FFFFFF
##3154111.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#315047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #315411;
/* rgb */ color: rgb(49, 84, 17);
/* oklch */ color: oklch(40.4% 0.102 133.4);
Tailwind
colors: {
  custom: {
    50: '#6d8454',
    500: '#315411',
    950: '#000000',
  },
}
SCSS
$custom: #315411;
$custom-light: #6d8454;
$custom-dark: #000000;
JSON
{
  "hex": "#315411",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 17
  },
  "hsl": {
    "h": 91.343,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4044,
    "c": 0.10217,
    "h": 133.4
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#315411
secondary
#62348D
accent
#3FE998
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315411

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

Preview Lab → · Contrast checker → · Palette generator →

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