#317210#317210

#317210 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.0% C 0.143 H 137.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#317210
RGBrgb(49, 114, 16)
HSLhsl(100, 75%, 25%)
HSVhsv(100, 86%, 45%)
CMYKcmyk(57%, 0%, 86%, 55.3%)
CIE-LABlab(42.34, -38.20, 43.32)
CIE-LCHlch(42.34, 57.76, 131.41°)
OKLaboklab(49.04% -0.1058 0.0955)
OKLCHoklch(49.04% 0.143 137.9)
XYZxyz(7.3772, 12.7244, 2.5574)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317210 #511072
analogous
#627210 #317210 #107220
triadic
#317210 #103172 #721031
tetradic
#317210 #106272 #511072 #722010
square
#317210 #106272 #511072 #722010
split-complementary
#317210 #201072 #721062
monochromatic
#0C1B04 #1A3C08 #317210 #48A818 #5FDD1F

Accessibility & contrast

On white

5.92
#317210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#317210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317210
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317210#FFFFFF#000000##FFFFFF
##3172101.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6E621C
Tritanopia (blue-blind)
#2C6E60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317210;
/* rgb */ color: rgb(49, 114, 16);
/* oklch */ color: oklch(49.0% 0.143 137.9);
Tailwind
colors: {
  custom: {
    50: '#719b59',
    500: '#317210',
    950: '#000000',
  },
}
SCSS
$custom: #317210;
$custom-light: #719b59;
$custom-dark: #000000;
JSON
{
  "hex": "#317210",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 99.796,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49036,
    "c": 0.14252,
    "h": 137.9
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#317210
secondary
#8234A9
accent
#36F2B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317210

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

Preview Lab → · Contrast checker → · Palette generator →

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