#62971F#62971F

#62971F is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.6% C 0.156 H 131.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#62971F
RGBrgb(98, 151, 31)
HSLhsl(87, 66%, 36%)
HSVhsv(87, 79%, 59%)
CMYKcmyk(35.1%, 0%, 79.5%, 40.8%)
CIE-LABlab(56.91, -36.18, 53.02)
CIE-LCHlch(56.91, 64.18, 124.31°)
OKLaboklab(61.64% -0.1027 0.1172)
OKLCHoklch(61.64% 0.156 131.2)
XYZxyz(16.3508, 24.8282, 5.2269)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62971F #541F97
analogous
#97901F #62971F #26971F
triadic
#62971F #1F6297 #971F62
tetradic
#62971F #1F9790 #541F97 #971F26
square
#62971F #1F9790 #541F97 #971F26
split-complementary
#62971F #1F2697 #901F97
monochromatic
#20310A #416415 #62971F #83CA29 #A0DC54

Accessibility & contrast

On white

3.52
#62971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#62971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62971F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62971F#FFFFFF#000000##000000
##62971F1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#649081
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #62971f;
/* rgb */ color: rgb(98, 151, 31);
/* oklch */ color: oklch(61.6% 0.156 131.2);
Tailwind
colors: {
  custom: {
    50: '#93b665',
    500: '#62971f',
    950: '#000000',
  },
}
SCSS
$custom: #62971f;
$custom-light: #93b665;
$custom-dark: #000000;
JSON
{
  "hex": "#62971f",
  "rgb": {
    "r": 98,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 86.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61637,
    "c": 0.15587,
    "h": 131.2
  },
  "luminance": 0.24829
}

Semantic roles & 50–950 ramp

primary
#62971F
secondary
#8352BF
accent
#3FE98A
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #62971F

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

Preview Lab → · Contrast checker → · Palette generator →

#62971F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva