#62841A#62841A

#62841A 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.83:1 contrast (WCAG AA passes).

Color values

HEX#62841A
RGBrgb(98, 132, 26)
HSLhsl(79, 67%, 31%)
HSVhsv(79, 80%, 52%)
CMYKcmyk(25.8%, 0%, 80.3%, 48.2%)
CIE-LABlab(50.89, -27.60, 49.02)
CIE-LCHlch(50.89, 56.26, 119.38°)
OKLaboklab(56.73% -0.0798 0.108)
OKLCHoklch(56.73% 0.134 126.5)
XYZxyz(13.4748, 19.1735, 3.9680)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62841A #3C1A84
analogous
#84711A #62841A #2D841A
triadic
#62841A #1A6284 #841A62
tetradic
#62841A #1A8471 #3C1A84 #841A2D
square
#62841A #1A8471 #3C1A84 #841A2D
split-complementary
#62841A #1A2D84 #711A84
monochromatic
#161E06 #3C5110 #62841A #88B724 #A8D93F

Accessibility & contrast

On white

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

On black

4.83
#62841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62841A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62841A#FFFFFF#000000##000000
##62841A1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62841a;
/* rgb */ color: rgb(98, 132, 26);
/* oklch */ color: oklch(56.7% 0.134 126.5);
Tailwind
colors: {
  custom: {
    50: '#92a860',
    500: '#62841a',
    950: '#000000',
  },
}
SCSS
$custom: #62841a;
$custom-light: #92a860;
$custom-dark: #000000;
JSON
{
  "hex": "#62841a",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 79.245,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5673,
    "c": 0.13431,
    "h": 126.5
  },
  "luminance": 0.19174
}

Semantic roles & 50–950 ramp

primary
#62841A
secondary
#6842B8
accent
#3EEA75
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #62841A

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

Preview Lab → · Contrast checker → · Palette generator →

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