#315D10#315D10

#315D10 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.0% C 0.115 H 135.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#315D10
RGBrgb(49, 93, 16)
HSLhsl(94, 71%, 21%)
HSVhsv(94, 83%, 36%)
CMYKcmyk(47.3%, 0%, 82.8%, 63.5%)
CIE-LABlab(35.04, -29.29, 36.52)
CIE-LCHlch(35.04, 46.82, 128.73°)
OKLaboklab(43.02% -0.0819 0.0812)
OKLCHoklch(43.02% 0.115 135.2)
XYZxyz(5.2744, 8.5188, 1.8565)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D10 #3C105D
analogous
#585D10 #315D10 #105D16
triadic
#315D10 #10315D #5D1031
tetradic
#315D10 #10585D #3C105D #5D1610
square
#315D10 #10585D #3C105D #5D1610
split-complementary
#315D10 #16105D #5D1058
monochromatic
#0E1A04 #152907 #315D10 #4D9119 #68C522

Accessibility & contrast

On white

7.77
#315D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#315D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315D10
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D10#FFFFFF#000000##FFFFFF
##315D101.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#30594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #315d10;
/* rgb */ color: rgb(49, 93, 16);
/* oklch */ color: oklch(43.0% 0.115 135.2);
Tailwind
colors: {
  custom: {
    50: '#6e8b55',
    500: '#315d10',
    950: '#000000',
  },
}
SCSS
$custom: #315d10;
$custom-light: #6e8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#315d10",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 94.286,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43024,
    "c": 0.11534,
    "h": 135.2
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#315D10
secondary
#6B3396
accent
#3AEDA1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #315D10

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

Preview Lab → · Contrast checker → · Palette generator →

#315D10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva