#315D0F#315D0F

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

Color values

HEX#315D0F
RGBrgb(49, 93, 15)
HSLhsl(94, 72%, 21%)
HSVhsv(94, 84%, 36%)
CMYKcmyk(47.3%, 0%, 83.9%, 63.5%)
CIE-LABlab(35.03, -29.35, 36.87)
CIE-LCHlch(35.03, 47.13, 128.52°)
OKLaboklab(43.02% -0.0821 0.0818)
OKLCHoklch(43.02% 0.116 135.1)
XYZxyz(5.2671, 8.5158, 1.8180)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D0F #3B0F5D
analogous
#585D0F #315D0F #0F5D14
triadic
#315D0F #0F315D #5D0F31
tetradic
#315D0F #0F585D #3B0F5D #5D140F
square
#315D0F #0F585D #3B0F5D #5D140F
split-complementary
#315D0F #140F5D #5D0F58
monochromatic
#0E1A04 #152806 #315D0F #4D9217 #69C620

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315D0F#FFFFFF#000000##FFFFFF
##315D0F1.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: #315d0f;
/* rgb */ color: rgb(49, 93, 15);
/* oklch */ color: oklch(43.0% 0.116 135.1);
Tailwind
colors: {
  custom: {
    50: '#6e8b55',
    500: '#315d0f',
    950: '#000000',
  },
}
SCSS
$custom: #315d0f;
$custom-light: #6e8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#315d0f",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 93.846,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43017,
    "c": 0.11591,
    "h": 135.1
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#315D0F
secondary
#6A3196
accent
#39EFA0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #315D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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