#315511#315511

#315511 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.104 H 133.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#315511
RGBrgb(49, 85, 17)
HSLhsl(92, 67%, 20%)
HSVhsv(92, 80%, 33%)
CMYKcmyk(42.4%, 0%, 80%, 66.7%)
CIE-LABlab(32.24, -25.49, 33.43)
CIE-LCHlch(32.24, 42.04, 127.33°)
OKLaboklab(40.73% -0.0715 0.0749)
OKLCHoklch(40.73% 0.104 133.7)
XYZxyz(4.6162, 7.1902, 1.6748)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315511 #351155
analogous
#535511 #315511 #115513
triadic
#315511 #113155 #551131
tetradic
#315511 #115355 #351155 #551311
square
#315511 #115355 #351155 #551311
split-complementary
#315511 #131155 #551153
monochromatic
#0F1A05 #142207 #315511 #4E881B #6CBB25

Accessibility & contrast

On white

8.61
#315511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#315511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315511
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315511#FFFFFF#000000##FFFFFF
##3155111.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#315148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #315511;
/* rgb */ color: rgb(49, 85, 17);
/* oklch */ color: oklch(40.7% 0.104 133.7);
Tailwind
colors: {
  custom: {
    50: '#6d8554',
    500: '#315511',
    950: '#000000',
  },
}
SCSS
$custom: #315511;
$custom-light: #6d8554;
$custom-dark: #000000;
JSON
{
  "hex": "#315511",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 17
  },
  "hsl": {
    "h": 91.765,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.40728,
    "c": 0.10359,
    "h": 133.7
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#315511
secondary
#64348E
accent
#3EEA99
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315511

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

Preview Lab → · Contrast checker → · Palette generator →

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