#315E16#315E16

#315E16 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.4% C 0.113 H 136.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#315E16
RGBrgb(49, 94, 22)
HSLhsl(98, 62%, 23%)
HSVhsv(98, 77%, 37%)
CMYKcmyk(47.9%, 0%, 76.6%, 63.1%)
CIE-LABlab(35.43, -29.31, 34.57)
CIE-LCHlch(35.43, 45.32, 130.29°)
OKLaboklab(43.36% -0.0815 0.0781)
OKLCHoklch(43.36% 0.113 136.2)
XYZxyz(5.4140, 8.7160, 2.1560)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E16 #43165E
analogous
#555E16 #315E16 #165E1F
triadic
#315E16 #16315E #5E1631
tetradic
#315E16 #16555E #43165E #5E1F16
square
#315E16 #16555E #43165E #5E1F16
split-complementary
#315E16 #1F165E #5E1655
monochromatic
#0D1906 #172C0A #315E16 #4B9022 #65C12D

Accessibility & contrast

On white

7.66
#315E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315E16
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E16#FFFFFF#000000##FFFFFF
##315E161.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560A
Deuteranopia (green-blind)
#5B521D
Tritanopia (blue-blind)
#2F5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e16;
/* rgb */ color: rgb(49, 94, 22);
/* oklch */ color: oklch(43.4% 0.113 136.2);
Tailwind
colors: {
  custom: {
    50: '#6e8c58',
    500: '#315e16',
    950: '#000000',
  },
}
SCSS
$custom: #315e16;
$custom-light: #6e8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#315e16",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 97.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43358,
    "c": 0.11287,
    "h": 136.2
  },
  "luminance": 0.08716
}

Semantic roles & 50–950 ramp

primary
#315E16
secondary
#733B95
accent
#43E5A8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #315E16

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

Preview Lab → · Contrast checker → · Palette generator →

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