#62971D#62971D

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

Color values

HEX#62971D
RGBrgb(98, 151, 29)
HSLhsl(86, 68%, 35%)
HSVhsv(86, 81%, 59%)
CMYKcmyk(35.1%, 0%, 80.8%, 40.8%)
CIE-LABlab(56.90, -36.28, 53.63)
CIE-LCHlch(56.90, 64.75, 124.08°)
OKLaboklab(61.63% -0.1031 0.1182)
OKLCHoklch(61.63% 0.157 131.1)
XYZxyz(16.3253, 24.8180, 5.0924)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62971D #521D97
analogous
#978F1D #62971D #25971D
triadic
#62971D #1D6297 #971D62
tetradic
#62971D #1D978F #521D97 #971D25
square
#62971D #1D978F #521D97 #971D25
split-complementary
#62971D #1D2597 #8F1D97
monochromatic
#1F3009 #416413 #62971D #83CA27 #A0DE51

Accessibility & contrast

On white

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

On black

5.96
#62971D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62971D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62971D#FFFFFF#000000##000000
##62971D1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62971d;
/* rgb */ color: rgb(98, 151, 29);
/* oklch */ color: oklch(61.6% 0.157 131.1);
Tailwind
colors: {
  custom: {
    50: '#93b664',
    500: '#62971d',
    950: '#000000',
  },
}
SCSS
$custom: #62971d;
$custom-light: #93b664;
$custom-dark: #000000;
JSON
{
  "hex": "#62971d",
  "rgb": {
    "r": 98,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 86.066,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61625,
    "c": 0.15687,
    "h": 131.1
  },
  "luminance": 0.24819
}

Semantic roles & 50–950 ramp

primary
#62971D
secondary
#804FC0
accent
#3DEB89
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #62971D

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

Preview Lab → · Contrast checker → · Palette generator →

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