#315E0E#315E0E

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

Color values

HEX#315E0E
RGBrgb(49, 94, 14)
HSLhsl(94, 74%, 21%)
HSVhsv(94, 85%, 37%)
CMYKcmyk(47.9%, 0%, 85.1%, 63.1%)
CIE-LABlab(35.38, -29.86, 37.54)
CIE-LCHlch(35.38, 47.97, 128.51°)
OKLaboklab(43.3% -0.0836 0.083)
OKLCHoklch(43.3% 0.118 135.2)
XYZxyz(5.3485, 8.6898, 1.8108)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E0E #3B0E5E
analogous
#595E0E #315E0E #0E5E13
triadic
#315E0E #0E315E #5E0E31
tetradic
#315E0E #0E595E #3B0E5E #5E130E
square
#315E0E #0E595E #3B0E5E #5E130E
split-complementary
#315E0E #130E5E #5E0E59
monochromatic
#0E1B04 #152906 #315E0E #4D9316 #69C91E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315E0E#FFFFFF#000000##FFFFFF
##315E0E1.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)
#5C5217
Tritanopia (blue-blind)
#305A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e0e;
/* rgb */ color: rgb(49, 94, 14);
/* oklch */ color: oklch(43.3% 0.118 135.2);
Tailwind
colors: {
  custom: {
    50: '#6e8c54',
    500: '#315e0e',
    950: '#000000',
  },
}
SCSS
$custom: #315e0e;
$custom-light: #6e8c54;
$custom-dark: #000000;
JSON
{
  "hex": "#315e0e",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 14
  },
  "hsl": {
    "h": 93.75,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43299,
    "c": 0.11779,
    "h": 135.2
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#315E0E
secondary
#6A3098
accent
#37F1A0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #315E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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