#317110#317110

#317110 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.8% C 0.141 H 137.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#317110
RGBrgb(49, 113, 16)
HSLhsl(100, 75%, 25%)
HSVhsv(100, 86%, 44%)
CMYKcmyk(56.6%, 0%, 85.8%, 55.7%)
CIE-LABlab(42.00, -37.81, 43.00)
CIE-LCHlch(42.00, 57.26, 131.32°)
OKLaboklab(48.75% -0.1047 0.0948)
OKLCHoklch(48.75% 0.141 137.9)
XYZxyz(7.2650, 12.5001, 2.5200)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317110 #501071
analogous
#617110 #317110 #107120
triadic
#317110 #103171 #711031
tetradic
#317110 #106171 #501071 #712010
square
#317110 #106171 #501071 #712010
split-complementary
#317110 #201071 #711061
monochromatic
#0C1B04 #1A3B08 #317110 #48A718 #5FDC1F

Accessibility & contrast

On white

6.00
#317110 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#317110 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317110
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317110#FFFFFF#000000##FFFFFF
##3171101.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6D611C
Tritanopia (blue-blind)
#2C6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #317110;
/* rgb */ color: rgb(49, 113, 16);
/* oklch */ color: oklch(48.8% 0.141 137.9);
Tailwind
colors: {
  custom: {
    50: '#719a58',
    500: '#317110',
    950: '#000000',
  },
}
SCSS
$custom: #317110;
$custom-light: #719a58;
$custom-dark: #000000;
JSON
{
  "hex": "#317110",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 16
  },
  "hsl": {
    "h": 99.588,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48751,
    "c": 0.14129,
    "h": 137.9
  },
  "luminance": 0.12501
}

Semantic roles & 50–950 ramp

primary
#317110
secondary
#8134A9
accent
#36F2B2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317110

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

Preview Lab → · Contrast checker → · Palette generator →

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