#31720E#31720E

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

Color values

HEX#31720E
RGBrgb(49, 114, 14)
HSLhsl(99, 78%, 25%)
HSVhsv(99, 88%, 45%)
CMYKcmyk(57%, 0%, 87.7%, 55.3%)
CIE-LABlab(42.34, -38.31, 43.87)
CIE-LCHlch(42.34, 58.24, 131.13°)
OKLaboklab(49.03% -0.1062 0.0963)
OKLCHoklch(49.03% 0.143 137.8)
XYZxyz(7.3629, 12.7187, 2.4823)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31720E #4F0E72
analogous
#63720E #31720E #0E721D
triadic
#31720E #0E3172 #720E31
tetradic
#31720E #0E6372 #4F0E72 #721D0E
square
#31720E #0E6372 #4F0E72 #721D0E
split-complementary
#31720E #1D0E72 #720E63
monochromatic
#0C1B03 #1A3B07 #31720E #48A915 #60DF1B

Accessibility & contrast

On white

5.93
#31720E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#31720E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31720E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31720E#FFFFFF#000000##FFFFFF
##31720E1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31720e;
/* rgb */ color: rgb(49, 114, 14);
/* oklch */ color: oklch(49.0% 0.143 137.8);
Tailwind
colors: {
  custom: {
    50: '#719b58',
    500: '#31720e',
    950: '#000000',
  },
}
SCSS
$custom: #31720e;
$custom-light: #719b58;
$custom-dark: #000000;
JSON
{
  "hex": "#31720e",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 14
  },
  "hsl": {
    "h": 99,
    "s": 78.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49026,
    "c": 0.14337,
    "h": 137.8
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#31720E
secondary
#8032AA
accent
#33F5B1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #31720E

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

Preview Lab → · Contrast checker → · Palette generator →

#31720E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva