#315E1A#315E1A

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

Color values

HEX#315E1A
RGBrgb(49, 94, 26)
HSLhsl(100, 57%, 24%)
HSVhsv(100, 72%, 37%)
CMYKcmyk(47.9%, 0%, 72.3%, 63.1%)
CIE-LABlab(35.46, -28.96, 32.85)
CIE-LCHlch(35.46, 43.79, 131.40°)
OKLaboklab(43.4% -0.0802 0.0751)
OKLCHoklch(43.4% 0.11 136.9)
XYZxyz(5.4556, 8.7326, 2.3752)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E1A #471A5E
analogous
#535E1A #315E1A #1A5E25
triadic
#315E1A #1A315E #5E1A31
tetradic
#315E1A #1A535E #471A5E #5E251A
square
#315E1A #1A535E #471A5E #5E251A
split-complementary
#315E1A #251A5E #5E1A53
monochromatic
#0C1807 #182E0D #315E1A #4A8E27 #63BE35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315E1A#FFFFFF#000000##FFFFFF
##315E1A1.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)
#615610
Deuteranopia (green-blind)
#5B5220
Tritanopia (blue-blind)
#2F5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e1a;
/* rgb */ color: rgb(49, 94, 26);
/* oklch */ color: oklch(43.4% 0.110 136.9);
Tailwind
colors: {
  custom: {
    50: '#6e8c5b',
    500: '#315e1a',
    950: '#000000',
  },
}
SCSS
$custom: #315e1a;
$custom-light: #6e8c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#315e1a",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 26
  },
  "hsl": {
    "h": 99.706,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43395,
    "c": 0.10989,
    "h": 136.9
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#315E1A
secondary
#774094
accent
#48E0AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #315E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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