#62842D#62842D

#62842D is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.9% C 0.121 H 128.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#62842D
RGBrgb(98, 132, 45)
HSLhsl(83, 49%, 35%)
HSVhsv(83, 66%, 52%)
CMYKcmyk(25.8%, 0%, 65.9%, 48.2%)
CIE-LABlab(51.02, -26.34, 41.71)
CIE-LCHlch(51.02, 49.33, 122.27°)
OKLaboklab(56.88% -0.0747 0.0957)
OKLCHoklch(56.88% 0.121 128)
XYZxyz(13.7619, 19.2884, 5.4801)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62842D #4F2D84
analogous
#847B2D #62842D #37842D
triadic
#62842D #2D6284 #842D62
tetradic
#62842D #2D847B #4F2D84 #842D37
square
#62842D #2D847B #4F2D84 #842D37
split-complementary
#62842D #2D3784 #7B2D84
monochromatic
#1E290E #40561D #62842D #84B23D #A1C962

Accessibility & contrast

On white

4.32
#62842D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#62842D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62842D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62842D#FFFFFF#000000##000000
##62842D1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B22
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#657E72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #62842d;
/* rgb */ color: rgb(98, 132, 45);
/* oklch */ color: oklch(56.9% 0.121 128.0);
Tailwind
colors: {
  custom: {
    50: '#91a86a',
    500: '#62842d',
    950: '#000000',
  },
}
SCSS
$custom: #62842d;
$custom-light: #91a86a;
$custom-dark: #000000;
JSON
{
  "hex": "#62842d",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 83.448,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.12139,
    "h": 128
  },
  "luminance": 0.19289
}

Semantic roles & 50–950 ramp

primary
#62842D
secondary
#7D5DB0
accent
#4FD985
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #62842D

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

Preview Lab → · Contrast checker → · Palette generator →

#62842D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva