#62821E#62821E

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

Color values

HEX#62821E
RGBrgb(98, 130, 30)
HSLhsl(79, 63%, 31%)
HSVhsv(79, 77%, 51%)
CMYKcmyk(24.6%, 0%, 76.9%, 49%)
CIE-LABlab(50.28, -26.41, 47.08)
CIE-LCHlch(50.28, 53.98, 119.30°)
OKLaboklab(56.24% -0.0763 0.1046)
OKLCHoklch(56.24% 0.129 126.1)
XYZxyz(13.2541, 18.6555, 4.1306)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62821E #3E1E82
analogous
#82701E #62821E #30821E
triadic
#62821E #1E6282 #821E62
tetradic
#62821E #1E8270 #3E1E82 #821E30
square
#62821E #1E8270 #3E1E82 #821E30
split-complementary
#62821E #1E3082 #701E82
monochromatic
#171F07 #3D5013 #62821E #87B429 #A7D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62821E#FFFFFF#000000##000000
##62821E1.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)
#897908
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#667C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #62821e;
/* rgb */ color: rgb(98, 130, 30);
/* oklch */ color: oklch(56.2% 0.129 126.1);
Tailwind
colors: {
  custom: {
    50: '#92a662',
    500: '#62821e',
    950: '#000000',
  },
}
SCSS
$custom: #62821e;
$custom-light: #92a662;
$custom-dark: #000000;
JSON
{
  "hex": "#62821e",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 79.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.12946,
    "h": 126.1
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#62821E
secondary
#6A47B5
accent
#42E677
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #62821E

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

Preview Lab → · Contrast checker → · Palette generator →

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