#315E19#315E19

#315E19 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.4% C 0.111 H 136.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#315E19
RGBrgb(49, 94, 25)
HSLhsl(99, 58%, 23%)
HSVhsv(99, 73%, 37%)
CMYKcmyk(47.9%, 0%, 73.4%, 63.1%)
CIE-LABlab(35.46, -29.05, 33.29)
CIE-LCHlch(35.46, 44.18, 131.11°)
OKLaboklab(43.39% -0.0805 0.0759)
OKLCHoklch(43.39% 0.111 136.7)
XYZxyz(5.4446, 8.7282, 2.3173)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E19 #46195E
analogous
#535E19 #315E19 #195E23
triadic
#315E19 #19315E #5E1931
tetradic
#315E19 #19535E #46195E #5E2319
square
#315E19 #19535E #46195E #5E2319
split-complementary
#315E19 #23195E #5E1953
monochromatic
#0D1806 #182E0C #315E19 #4A8E26 #63BF33

Accessibility & contrast

On white

7.65
#315E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#315E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315E19
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E19#FFFFFF#000000##FFFFFF
##315E191.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560F
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#2F5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e19;
/* rgb */ color: rgb(49, 94, 25);
/* oklch */ color: oklch(43.4% 0.111 136.7);
Tailwind
colors: {
  custom: {
    50: '#6e8c5a',
    500: '#315e19',
    950: '#000000',
  },
}
SCSS
$custom: #315e19;
$custom-light: #6e8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#315e19",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 25
  },
  "hsl": {
    "h": 99.13,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43385,
    "c": 0.11067,
    "h": 136.7
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#315E19
secondary
#763F94
accent
#47E1AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #315E19

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

Preview Lab → · Contrast checker → · Palette generator →

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