#62872D#62872D

#62872D is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.6% C 0.126 H 128.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#62872D
RGBrgb(98, 135, 45)
HSLhsl(85, 50%, 35%)
HSVhsv(85, 67%, 53%)
CMYKcmyk(27.4%, 0%, 66.7%, 47.1%)
CIE-LABlab(51.97, -27.80, 42.73)
CIE-LCHlch(51.97, 50.98, 123.05°)
OKLaboklab(57.65% -0.0788 0.0978)
OKLCHoklch(57.65% 0.126 128.9)
XYZxyz(14.1746, 20.1137, 5.6177)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62872D #522D87
analogous
#877F2D #62872D #35872D
triadic
#62872D #2D6287 #872D62
tetradic
#62872D #2D877F #522D87 #872D35
square
#62872D #2D877F #522D87 #872D35
split-complementary
#62872D #2D3587 #7F2D87
monochromatic
#1F2B0E #41591E #62872D #83B53C #A0CB63

Accessibility & contrast

On white

4.18
#62872D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#62872D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62872D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62872D#FFFFFF#000000##000000
##62872D1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E21
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#658174
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #62872d;
/* rgb */ color: rgb(98, 135, 45);
/* oklch */ color: oklch(57.6% 0.126 128.9);
Tailwind
colors: {
  custom: {
    50: '#91aa6b',
    500: '#62872d',
    950: '#000000',
  },
}
SCSS
$custom: #62872d;
$custom-light: #91aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#62872d",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 84.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57645,
    "c": 0.12557,
    "h": 128.9
  },
  "luminance": 0.20114
}

Semantic roles & 50–950 ramp

primary
#62872D
secondary
#805EB2
accent
#4EDA88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #62872D

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

Preview Lab → · Contrast checker → · Palette generator →

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