#315F0E#315F0E

#315F0E is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.6% C 0.119 H 135.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#315F0E
RGBrgb(49, 95, 14)
HSLhsl(94, 74%, 21%)
HSVhsv(94, 85%, 37%)
CMYKcmyk(48.4%, 0%, 85.3%, 62.7%)
CIE-LABlab(35.73, -30.31, 37.86)
CIE-LCHlch(35.73, 48.50, 128.68°)
OKLaboklab(43.59% -0.0848 0.0837)
OKLCHoklch(43.59% 0.119 135.4)
XYZxyz(5.4380, 8.8688, 1.8407)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F0E #3C0E5F
analogous
#5A5F0E #315F0E #0E5F14
triadic
#315F0E #0E315F #5F0E31
tetradic
#315F0E #0E5A5F #3C0E5F #5F140E
square
#315F0E #0E5A5F #3C0E5F #5F140E
split-complementary
#315F0E #140E5F #5F0E5A
monochromatic
#0E1B04 #152A06 #315F0E #4D9416 #68CA1E

Accessibility & contrast

On white

7.57
#315F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#315F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315F0E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F0E#FFFFFF#000000##FFFFFF
##315F0E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#305B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315f0e;
/* rgb */ color: rgb(49, 95, 14);
/* oklch */ color: oklch(43.6% 0.119 135.4);
Tailwind
colors: {
  custom: {
    50: '#6e8d55',
    500: '#315f0e',
    950: '#000000',
  },
}
SCSS
$custom: #315f0e;
$custom-light: #6e8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#315f0e",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 94.074,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43586,
    "c": 0.11912,
    "h": 135.4
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#315F0E
secondary
#6B3099
accent
#37F1A1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #315F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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