#62931F#62931F

#62931F is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.6% C 0.151 H 130.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#62931F
RGBrgb(98, 147, 31)
HSLhsl(85, 65%, 35%)
HSVhsv(85, 79%, 58%)
CMYKcmyk(33.3%, 0%, 78.9%, 42.4%)
CIE-LABlab(55.65, -34.38, 51.83)
CIE-LCHlch(55.65, 62.20, 123.55°)
OKLaboklab(60.61% -0.0979 0.1148)
OKLCHoklch(60.61% 0.151 130.5)
XYZxyz(15.7179, 23.5625, 5.0159)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62931F #501F93
analogous
#938A1F #62931F #28931F
triadic
#62931F #1F6293 #931F62
tetradic
#62931F #1F938A #501F93 #931F28
square
#62931F #1F938A #501F93 #931F28
split-complementary
#62931F #1F2893 #8A1F93
monochromatic
#1F2E0A #406014 #62931F #84C62A #A1DA52

Accessibility & contrast

On white

3.68
#62931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#62931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62931F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62931F#FFFFFF#000000##000000
##62931F1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#648C7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #62931f;
/* rgb */ color: rgb(98, 147, 31);
/* oklch */ color: oklch(60.6% 0.151 130.5);
Tailwind
colors: {
  custom: {
    50: '#93b365',
    500: '#62931f',
    950: '#000000',
  },
}
SCSS
$custom: #62931f;
$custom-light: #93b365;
$custom-dark: #000000;
JSON
{
  "hex": "#62931f",
  "rgb": {
    "r": 98,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 85.345,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60608,
    "c": 0.15081,
    "h": 130.5
  },
  "luminance": 0.23563
}

Semantic roles & 50–950 ramp

primary
#62931F
secondary
#7E50BE
accent
#40E887
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #62931F

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

Preview Lab → · Contrast checker → · Palette generator →

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