#317010#317010

#317010 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#317010
RGBrgb(49, 112, 16)
HSLhsl(99, 75%, 25%)
HSVhsv(99, 86%, 44%)
CMYKcmyk(56.3%, 0%, 85.7%, 56.1%)
CIE-LABlab(41.65, -37.40, 42.69)
CIE-LCHlch(41.65, 56.76, 131.22°)
OKLaboklab(48.47% -0.1037 0.0942)
OKLCHoklch(48.47% 0.14 137.8)
XYZxyz(7.1541, 12.2782, 2.4830)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317010 #4F1070
analogous
#617010 #317010 #10701F
triadic
#317010 #103170 #701031
tetradic
#317010 #106170 #4F1070 #701F10
square
#317010 #106170 #4F1070 #701F10
split-complementary
#317010 #1F1070 #701061
monochromatic
#0C1B04 #1A3A08 #317010 #48A618 #60DB1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317010#FFFFFF#000000##FFFFFF
##3170101.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)
#6C601C
Tritanopia (blue-blind)
#2C6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #317010;
/* rgb */ color: rgb(49, 112, 16);
/* oklch */ color: oklch(48.5% 0.140 137.8);
Tailwind
colors: {
  custom: {
    50: '#719a58',
    500: '#317010',
    950: '#000000',
  },
}
SCSS
$custom: #317010;
$custom-light: #719a58;
$custom-dark: #000000;
JSON
{
  "hex": "#317010",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 99.375,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48466,
    "c": 0.14004,
    "h": 137.8
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#317010
secondary
#8034A8
accent
#36F2B1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317010

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

Preview Lab → · Contrast checker → · Palette generator →

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