#315E0F#315E0F

#315E0F is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.3% C 0.117 H 135.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#315E0F
RGBrgb(49, 94, 15)
HSLhsl(94, 72%, 21%)
HSVhsv(94, 84%, 37%)
CMYKcmyk(47.9%, 0%, 84%, 63.1%)
CIE-LABlab(35.39, -29.80, 37.20)
CIE-LCHlch(35.39, 47.67, 128.70°)
OKLaboklab(43.31% -0.0833 0.0825)
OKLCHoklch(43.31% 0.117 135.3)
XYZxyz(5.3554, 8.6925, 1.8475)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E0F #3C0F5E
analogous
#595E0F #315E0F #0F5E15
triadic
#315E0F #0F315E #5E0F31
tetradic
#315E0F #0F595E #3C0F5E #5E150F
square
#315E0F #0F595E #3C0F5E #5E150F
split-complementary
#315E0F #150F5E #5E0F59
monochromatic
#0E1A04 #152907 #315E0F #4D9317 #68C820

Accessibility & contrast

On white

7.67
#315E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#315E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315E0F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E0F#FFFFFF#000000##FFFFFF
##315E0F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#305A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e0f;
/* rgb */ color: rgb(49, 94, 15);
/* oklch */ color: oklch(43.3% 0.117 135.3);
Tailwind
colors: {
  custom: {
    50: '#6e8c55',
    500: '#315e0f',
    950: '#000000',
  },
}
SCSS
$custom: #315e0f;
$custom-light: #6e8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#315e0f",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 94.177,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43305,
    "c": 0.11725,
    "h": 135.3
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#315E0F
secondary
#6B3197
accent
#39EFA1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #315E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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