#315F16#315F16

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

Color values

HEX#315F16
RGBrgb(49, 95, 22)
HSLhsl(98, 62%, 23%)
HSVhsv(98, 77%, 37%)
CMYKcmyk(48.4%, 0%, 76.8%, 62.7%)
CIE-LABlab(35.78, -29.76, 34.92)
CIE-LCHlch(35.78, 45.88, 130.44°)
OKLaboklab(43.65% -0.0827 0.0789)
OKLCHoklch(43.65% 0.114 136.4)
XYZxyz(5.5035, 8.8950, 2.1858)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F16 #44165F
analogous
#555F16 #315F16 #165F1F
triadic
#315F16 #16315F #5F1631
tetradic
#315F16 #16555F #44165F #5F1F16
square
#315F16 #16555F #44165F #5F1F16
split-complementary
#315F16 #1F165F #5F1655
monochromatic
#0D1906 #172D0A #315F16 #4B9122 #64C22D

Accessibility & contrast

On white

7.56
#315F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#315F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315F16
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F16#FFFFFF#000000##FFFFFF
##315F161.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635709
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#2F5B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315f16;
/* rgb */ color: rgb(49, 95, 22);
/* oklch */ color: oklch(43.6% 0.114 136.4);
Tailwind
colors: {
  custom: {
    50: '#6e8d58',
    500: '#315f16',
    950: '#000000',
  },
}
SCSS
$custom: #315f16;
$custom-light: #6e8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#315f16",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 97.808,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43645,
    "c": 0.11427,
    "h": 136.4
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#315F16
secondary
#743B96
accent
#42E5A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #315F16

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

Preview Lab → · Contrast checker → · Palette generator →

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