#62872F#62872F

#62872F is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.7% C 0.124 H 129.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#62872F
RGBrgb(98, 135, 47)
HSLhsl(85, 48%, 36%)
HSVhsv(85, 65%, 53%)
CMYKcmyk(27.4%, 0%, 65.2%, 47.1%)
CIE-LABlab(51.98, -27.63, 41.85)
CIE-LCHlch(51.98, 50.15, 123.44°)
OKLaboklab(57.67% -0.0781 0.0962)
OKLCHoklch(57.67% 0.124 129.1)
XYZxyz(14.2140, 20.1295, 5.8253)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62872F #542F87
analogous
#87802F #62872F #36872F
triadic
#62872F #2F6287 #872F62
tetradic
#62872F #2F8780 #542F87 #872F36
square
#62872F #2F8780 #542F87 #872F36
split-complementary
#62872F #2F3687 #802F87
monochromatic
#202C0F #415A1F #62872F #83B43F #A0CA66

Accessibility & contrast

On white

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

On black

5.03
#62872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62872F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62872F#FFFFFF#000000##000000
##62872F1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E24
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#658175
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #62872f;
/* rgb */ color: rgb(98, 135, 47);
/* oklch */ color: oklch(57.7% 0.124 129.1);
Tailwind
colors: {
  custom: {
    50: '#91aa6c',
    500: '#62872f',
    950: '#000000',
  },
}
SCSS
$custom: #62872f;
$custom-light: #91aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#62872f",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 85.227,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.12393,
    "h": 129.1
  },
  "luminance": 0.2013
}

Semantic roles & 50–950 ramp

primary
#62872F
secondary
#8361B1
accent
#50D889
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #62872F

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

Preview Lab → · Contrast checker → · Palette generator →

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