#62971B#62971B

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

Color values

HEX#62971B
RGBrgb(98, 151, 27)
HSLhsl(86, 70%, 35%)
HSVhsv(86, 82%, 59%)
CMYKcmyk(35.1%, 0%, 82.1%, 40.8%)
CIE-LABlab(56.89, -36.37, 54.21)
CIE-LCHlch(56.89, 65.28, 123.86°)
OKLaboklab(61.61% -0.1035 0.1191)
OKLCHoklch(61.61% 0.158 131)
XYZxyz(16.3013, 24.8084, 4.9663)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62971B #501B97
analogous
#978E1B #62971B #24971B
triadic
#62971B #1B6297 #971B62
tetradic
#62971B #1B978E #501B97 #971B24
square
#62971B #1B978E #501B97 #971B24
split-complementary
#62971B #1B2497 #8E1B97
monochromatic
#1F2F08 #406312 #62971B #84CB24 #A1DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62971B#FFFFFF#000000##000000
##62971B1.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)
#978729
Tritanopia (blue-blind)
#649081
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #62971b;
/* rgb */ color: rgb(98, 151, 27);
/* oklch */ color: oklch(61.6% 0.158 131.0);
Tailwind
colors: {
  custom: {
    50: '#94b664',
    500: '#62971b',
    950: '#000000',
  },
}
SCSS
$custom: #62971b;
$custom-light: #94b664;
$custom-dark: #000000;
JSON
{
  "hex": "#62971b",
  "rgb": {
    "r": 98,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 85.645,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.15781,
    "h": 131
  },
  "luminance": 0.24809
}

Semantic roles & 50–950 ramp

primary
#62971B
secondary
#7E4CC1
accent
#3BEC87
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #62971B

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

Preview Lab → · Contrast checker → · Palette generator →

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