#62871E#62871E

#62871E is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.5% C 0.136 H 127.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#62871E
RGBrgb(98, 135, 30)
HSLhsl(81, 64%, 32%)
HSVhsv(81, 78%, 53%)
CMYKcmyk(27.4%, 0%, 77.8%, 47.1%)
CIE-LABlab(51.86, -28.84, 48.58)
CIE-LCHlch(51.86, 56.50, 120.69°)
OKLaboklab(57.52% -0.0829 0.1078)
OKLCHoklch(57.52% 0.136 127.6)
XYZxyz(13.9353, 20.0181, 4.3577)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62871E #431E87
analogous
#87781E #62871E #2E871E
triadic
#62871E #1E6287 #871E62
tetradic
#62871E #1E8778 #431E87 #871E2E
square
#62871E #1E8778 #431E87 #871E2E
split-complementary
#62871E #1E2E87 #781E87
monochromatic
#192308 #3E5513 #62871E #86B929 #A5D749

Accessibility & contrast

On white

4.20
#62871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#62871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62871E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62871E#FFFFFF#000000##000000
##62871E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D05
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#668173
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #62871e;
/* rgb */ color: rgb(98, 135, 30);
/* oklch */ color: oklch(57.5% 0.136 127.6);
Tailwind
colors: {
  custom: {
    50: '#92aa63',
    500: '#62871e',
    950: '#000000',
  },
}
SCSS
$custom: #62871e;
$custom-light: #92aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#62871e",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 81.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.13596,
    "h": 127.6
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#62871E
secondary
#7048B9
accent
#41E77B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #62871E

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

Preview Lab → · Contrast checker → · Palette generator →

#62871E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva