#62B31F#62B31F

#62B31F is a light, vivid yellow-green. Relative luminance 0.349; OKLCH L 68.8% C 0.190 H 135.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#62B31F
RGBrgb(98, 179, 31)
HSLhsl(93, 70%, 41%)
HSVhsv(93, 83%, 70%)
CMYKcmyk(45.3%, 0%, 82.7%, 29.8%)
CIE-LABlab(65.70, -47.95, 61.08)
CIE-LCHlch(65.70, 77.65, 128.13°)
OKLaboklab(68.84% -0.1344 0.1342)
OKLCHoklch(68.84% 0.19 135)
XYZxyz(21.4040, 34.9345, 6.9113)
Luminance0.3494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62B31F #701FB3
analogous
#ACB31F #62B31F #1FB326
triadic
#62B31F #1F62B3 #B31F62
tetradic
#62B31F #1FACB3 #701FB3 #B3261F
square
#62B31F #1FACB3 #701FB3 #B3261F
split-complementary
#62B31F #261FB3 #B31FAC
monochromatic
#294B0D #457F16 #62B31F #80DC33 #A0E568

Accessibility & contrast

On white

2.63
#62B31F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#62B31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #62B31F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62B31F#FFFFFF#000000##000000
##62B31F1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#60AC99
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #62b31f;
/* rgb */ color: rgb(98, 179, 31);
/* oklch */ color: oklch(68.8% 0.190 135.0);
Tailwind
colors: {
  custom: {
    50: '#96ca69',
    500: '#62b31f',
    950: '#000000',
  },
}
SCSS
$custom: #62b31f;
$custom-light: #96ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#62b31f",
  "rgb": {
    "r": 98,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 92.838,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68835,
    "c": 0.18991,
    "h": 135
  },
  "luminance": 0.34936
}

Semantic roles & 50–950 ramp

primary
#62B31F
secondary
#9C64CA
accent
#3BED9C
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #62B31F

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

Preview Lab → · Contrast checker → · Palette generator →

#62B31F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva