#315510#315510

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

Color values

HEX#315510
RGBrgb(49, 85, 16)
HSLhsl(91, 68%, 20%)
HSVhsv(91, 81%, 33%)
CMYKcmyk(42.4%, 0%, 81.2%, 66.7%)
CIE-LABlab(32.23, -25.56, 33.82)
CIE-LCHlch(32.23, 42.39, 127.08°)
OKLaboklab(40.72% -0.0718 0.0756)
OKLCHoklch(40.72% 0.104 133.6)
XYZxyz(4.6086, 7.1872, 1.6345)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315510 #341055
analogous
#545510 #315510 #105511
triadic
#315510 #103155 #551031
tetradic
#315510 #105455 #341055 #551110
square
#315510 #105455 #341055 #551110
split-complementary
#315510 #111055 #551054
monochromatic
#0F1A05 #132106 #315510 #4F891A #6CBC23

Accessibility & contrast

On white

8.62
#315510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315510
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315510#FFFFFF#000000##FFFFFF
##3155101.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #315510;
/* rgb */ color: rgb(49, 85, 16);
/* oklch */ color: oklch(40.7% 0.104 133.6);
Tailwind
colors: {
  custom: {
    50: '#6d8554',
    500: '#315510',
    950: '#000000',
  },
}
SCSS
$custom: #315510;
$custom-light: #6d8554;
$custom-dark: #000000;
JSON
{
  "hex": "#315510",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 16
  },
  "hsl": {
    "h": 91.304,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4072,
    "c": 0.10425,
    "h": 133.6
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#315510
secondary
#62328F
accent
#3DEB98
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315510

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

Preview Lab → · Contrast checker → · Palette generator →

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