#62821F#62821F

#62821F is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.129 H 126.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#62821F
RGBrgb(98, 130, 31)
HSLhsl(79, 61%, 32%)
HSVhsv(79, 76%, 51%)
CMYKcmyk(24.6%, 0%, 76.2%, 49%)
CIE-LABlab(50.29, -26.36, 46.72)
CIE-LCHlch(50.29, 53.64, 119.43°)
OKLaboklab(56.25% -0.0761 0.104)
OKLCHoklch(56.25% 0.129 126.2)
XYZxyz(13.2670, 18.6607, 4.1990)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62821F #3F1F82
analogous
#82711F #62821F #31821F
triadic
#62821F #1F6282 #821F62
tetradic
#62821F #1F8271 #3F1F82 #821F31
square
#62821F #1F8271 #3F1F82 #821F31
split-complementary
#62821F #1F3182 #711F82
monochromatic
#171F07 #3D5113 #62821F #87B32B #A6D348

Accessibility & contrast

On white

4.44
#62821F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#62821F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62821F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62821F#FFFFFF#000000##000000
##62821F1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790B
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#667C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #62821f;
/* rgb */ color: rgb(98, 130, 31);
/* oklch */ color: oklch(56.3% 0.129 126.2);
Tailwind
colors: {
  custom: {
    50: '#92a662',
    500: '#62821f',
    950: '#000000',
  },
}
SCSS
$custom: #62821f;
$custom-light: #92a662;
$custom-dark: #000000;
JSON
{
  "hex": "#62821f",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 79.394,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.12885,
    "h": 126.2
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#62821F
secondary
#6B48B5
accent
#43E577
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #62821F

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

Preview Lab → · Contrast checker → · Palette generator →

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