#317011#317011

#317011 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.5% C 0.140 H 137.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#317011
RGBrgb(49, 112, 17)
HSLhsl(100, 74%, 25%)
HSVhsv(100, 85%, 44%)
CMYKcmyk(56.3%, 0%, 84.8%, 56.1%)
CIE-LABlab(41.66, -37.35, 42.39)
CIE-LCHlch(41.66, 56.50, 131.38°)
OKLaboklab(48.47% -0.1035 0.0937)
OKLCHoklch(48.47% 0.14 137.8)
XYZxyz(7.1617, 12.2812, 2.5233)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317011 #501170
analogous
#617011 #317011 #117020
triadic
#317011 #113170 #701131
tetradic
#317011 #116170 #501170 #702011
square
#317011 #116170 #501170 #702011
split-complementary
#317011 #201170 #701161
monochromatic
#0C1B04 #1A3B09 #317011 #48A519 #5FDA21

Accessibility & contrast

On white

6.08
#317011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#317011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317011
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317011#FFFFFF#000000##FFFFFF
##3170111.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#2C6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #317011;
/* rgb */ color: rgb(49, 112, 17);
/* oklch */ color: oklch(48.5% 0.140 137.8);
Tailwind
colors: {
  custom: {
    50: '#719a59',
    500: '#317011',
    950: '#000000',
  },
}
SCSS
$custom: #317011;
$custom-light: #719a59;
$custom-dark: #000000;
JSON
{
  "hex": "#317011",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 99.789,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48472,
    "c": 0.13958,
    "h": 137.8
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#317011
secondary
#8135A7
accent
#37F0B2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317011

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

Preview Lab → · Contrast checker → · Palette generator →

#317011 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva