#62841B#62841B

#62841B is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.7% C 0.134 H 126.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#62841B
RGBrgb(98, 132, 27)
HSLhsl(79, 66%, 31%)
HSVhsv(79, 80%, 52%)
CMYKcmyk(25.8%, 0%, 79.5%, 48.2%)
CIE-LABlab(50.89, -27.55, 48.70)
CIE-LCHlch(50.89, 55.95, 119.50°)
OKLaboklab(56.74% -0.0796 0.1075)
OKLCHoklch(56.74% 0.134 126.5)
XYZxyz(13.4862, 19.1781, 4.0279)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62841B #3D1B84
analogous
#84711B #62841B #2D841B
triadic
#62841B #1B6284 #841B62
tetradic
#62841B #1B8471 #3D1B84 #841B2D
square
#62841B #1B8471 #3D1B84 #841B2D
split-complementary
#62841B #1B2D84 #711B84
monochromatic
#171E06 #3C5111 #62841B #88B725 #A7D841

Accessibility & contrast

On white

4.34
#62841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#62841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62841B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62841B#FFFFFF#000000##000000
##62841B1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#667D70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #62841b;
/* rgb */ color: rgb(98, 132, 27);
/* oklch */ color: oklch(56.7% 0.134 126.5);
Tailwind
colors: {
  custom: {
    50: '#92a861',
    500: '#62841b',
    950: '#000000',
  },
}
SCSS
$custom: #62841b;
$custom-light: #92a861;
$custom-dark: #000000;
JSON
{
  "hex": "#62841b",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 79.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56736,
    "c": 0.13377,
    "h": 126.5
  },
  "luminance": 0.19178
}

Semantic roles & 50–950 ramp

primary
#62841B
secondary
#6943B7
accent
#3FE976
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #62841B

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

Preview Lab → · Contrast checker → · Palette generator →

#62841B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva