#62971C#62971C

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

Color values

HEX#62971C
RGBrgb(98, 151, 28)
HSLhsl(86, 69%, 35%)
HSVhsv(86, 81%, 59%)
CMYKcmyk(35.1%, 0%, 81.5%, 40.8%)
CIE-LABlab(56.89, -36.33, 53.92)
CIE-LCHlch(56.89, 65.02, 123.97°)
OKLaboklab(61.62% -0.1033 0.1187)
OKLCHoklch(61.62% 0.157 131)
XYZxyz(16.3131, 24.8131, 5.0283)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62971C #511C97
analogous
#978F1C #62971C #24971C
triadic
#62971C #1C6297 #971C62
tetradic
#62971C #1C978F #511C97 #971C24
square
#62971C #1C978F #511C97 #971C24
split-complementary
#62971C #1C2497 #8F1C97
monochromatic
#1F3009 #406312 #62971C #84CB26 #A1DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62971C#FFFFFF#000000##000000
##62971C1.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)
#97872A
Tritanopia (blue-blind)
#649081
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #62971c;
/* rgb */ color: rgb(98, 151, 28);
/* oklch */ color: oklch(61.6% 0.157 131.0);
Tailwind
colors: {
  custom: {
    50: '#94b664',
    500: '#62971c',
    950: '#000000',
  },
}
SCSS
$custom: #62971c;
$custom-light: #94b664;
$custom-dark: #000000;
JSON
{
  "hex": "#62971c",
  "rgb": {
    "r": 98,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 85.854,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6162,
    "c": 0.15734,
    "h": 131
  },
  "luminance": 0.24814
}

Semantic roles & 50–950 ramp

primary
#62971C
secondary
#7F4EC1
accent
#3CEC88
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #62971C

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

Preview Lab → · Contrast checker → · Palette generator →

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