#62802A#62802A

#62802A is a mid, moderate yellow-green. Relative luminance 0.182; OKLCH L 55.8% C 0.118 H 126.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#62802A
RGBrgb(98, 128, 42)
HSLhsl(81, 51%, 33%)
HSVhsv(81, 67%, 50%)
CMYKcmyk(23.4%, 0%, 67.2%, 49.8%)
CIE-LABlab(49.74, -24.60, 41.68)
CIE-LCHlch(49.74, 48.40, 120.55°)
OKLaboklab(55.83% -0.0702 0.0952)
OKLCHoklch(55.83% 0.118 126.4)
XYZxyz(13.1741, 18.2020, 5.0093)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62802A #482A80
analogous
#80732A #62802A #37802A
triadic
#62802A #2A6280 #802A62
tetradic
#62802A #2A8073 #482A80 #802A37
square
#62802A #2A8073 #482A80 #802A37
split-complementary
#62802A #2A3780 #732A80
monochromatic
#1B240C #3F521B #62802A #85AE39 #A3C95B

Accessibility & contrast

On white

4.53
#62802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#62802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62802A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62802A#FFFFFF#000000##000000
##62802A1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771F
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#667A6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #62802a;
/* rgb */ color: rgb(98, 128, 42);
/* oklch */ color: oklch(55.8% 0.118 126.4);
Tailwind
colors: {
  custom: {
    50: '#91a568',
    500: '#62802a',
    950: '#000000',
  },
}
SCSS
$custom: #62802a;
$custom-light: #91a568;
$custom-dark: #000000;
JSON
{
  "hex": "#62802a",
  "rgb": {
    "r": 98,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 80.93,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55833,
    "c": 0.11827,
    "h": 126.4
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#62802A
secondary
#7657AF
accent
#4EDA7F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #62802A

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

Preview Lab → · Contrast checker → · Palette generator →

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