#62872C#62872C

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

Color values

HEX#62872C
RGBrgb(98, 135, 44)
HSLhsl(84, 51%, 35%)
HSVhsv(84, 67%, 53%)
CMYKcmyk(27.4%, 0%, 67.4%, 47.1%)
CIE-LABlab(51.96, -27.88, 43.16)
CIE-LCHlch(51.96, 51.38, 122.87°)
OKLaboklab(57.64% -0.0791 0.0986)
OKLCHoklch(57.64% 0.126 128.7)
XYZxyz(14.1556, 20.1061, 5.5175)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62872C #512C87
analogous
#877F2C #62872C #34872C
triadic
#62872C #2C6287 #872C62
tetradic
#62872C #2C877F #512C87 #872C34
square
#62872C #2C877F #512C87 #872C34
split-complementary
#62872C #2C3487 #7F2C87
monochromatic
#1F2B0E #40591D #62872C #84B53B #A1CC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62872C#FFFFFF#000000##000000
##62872C1.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)
#8E7E20
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#658174
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #62872c;
/* rgb */ color: rgb(98, 135, 44);
/* oklch */ color: oklch(57.6% 0.126 128.7);
Tailwind
colors: {
  custom: {
    50: '#92aa6a',
    500: '#62872c',
    950: '#000000',
  },
}
SCSS
$custom: #62872c;
$custom-light: #92aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#62872c",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 84.396,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57635,
    "c": 0.12636,
    "h": 128.7
  },
  "luminance": 0.20106
}

Semantic roles & 50–950 ramp

primary
#62872C
secondary
#7F5DB2
accent
#4DDA87
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #62872C

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

Preview Lab → · Contrast checker → · Palette generator →

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