#315D0E#315D0E

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

Color values

HEX#315D0E
RGBrgb(49, 93, 14)
HSLhsl(93, 74%, 21%)
HSVhsv(93, 85%, 36%)
CMYKcmyk(47.3%, 0%, 84.9%, 63.5%)
CIE-LABlab(35.03, -29.41, 37.21)
CIE-LCHlch(35.03, 47.43, 128.33°)
OKLaboklab(43.01% -0.0824 0.0823)
OKLCHoklch(43.01% 0.116 135)
XYZxyz(5.2601, 8.5131, 1.7814)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D0E #3A0E5D
analogous
#585D0E #315D0E #0E5D12
triadic
#315D0E #0E315D #5D0E31
tetradic
#315D0E #0E585D #3A0E5D #5D120E
square
#315D0E #0E585D #3A0E5D #5D120E
split-complementary
#315D0E #120E5D #5D0E58
monochromatic
#0E1B04 #152806 #315D0E #4D9216 #69C71E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315D0E#FFFFFF#000000##FFFFFF
##315D0E1.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)
#5B5117
Tritanopia (blue-blind)
#30594E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #315d0e;
/* rgb */ color: rgb(49, 93, 14);
/* oklch */ color: oklch(43.0% 0.116 135.0);
Tailwind
colors: {
  custom: {
    50: '#6e8b54',
    500: '#315d0e',
    950: '#000000',
  },
}
SCSS
$custom: #315d0e;
$custom-light: #6e8b54;
$custom-dark: #000000;
JSON
{
  "hex": "#315d0e",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 14
  },
  "hsl": {
    "h": 93.418,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43011,
    "c": 0.11645,
    "h": 135
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#315D0E
secondary
#693097
accent
#37F09E
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #315D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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