#62981F#62981F

#62981F is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.9% C 0.157 H 131.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#62981F
RGBrgb(98, 152, 31)
HSLhsl(87, 66%, 36%)
HSVhsv(87, 80%, 60%)
CMYKcmyk(35.5%, 0%, 79.6%, 40.4%)
CIE-LABlab(57.22, -36.62, 53.31)
CIE-LCHlch(57.22, 64.68, 124.49°)
OKLaboklab(61.89% -0.1039 0.1179)
OKLCHoklch(61.89% 0.157 131.4)
XYZxyz(16.5124, 25.1514, 5.2808)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62981F #551F98
analogous
#98911F #62981F #25981F
triadic
#62981F #1F6298 #981F62
tetradic
#62981F #1F9891 #551F98 #981F25
square
#62981F #1F9891 #551F98 #981F25
split-complementary
#62981F #1F2598 #911F98
monochromatic
#20320A #416515 #62981F #83CB29 #A0DC55

Accessibility & contrast

On white

3.48
#62981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#62981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62981F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62981F#FFFFFF#000000##000000
##62981F1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#649182
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #62981f;
/* rgb */ color: rgb(98, 152, 31);
/* oklch */ color: oklch(61.9% 0.157 131.4);
Tailwind
colors: {
  custom: {
    50: '#93b665',
    500: '#62981f',
    950: '#000000',
  },
}
SCSS
$custom: #62981f;
$custom-light: #93b665;
$custom-dark: #000000;
JSON
{
  "hex": "#62981f",
  "rgb": {
    "r": 98,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 86.777,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61894,
    "c": 0.15712,
    "h": 131.4
  },
  "luminance": 0.25152
}

Semantic roles & 50–950 ramp

primary
#62981F
secondary
#8453C0
accent
#3FE98B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #62981F

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

Preview Lab → · Contrast checker → · Palette generator →

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