#62871C#62871C

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

Color values

HEX#62871C
RGBrgb(98, 135, 28)
HSLhsl(81, 66%, 32%)
HSVhsv(81, 79%, 53%)
CMYKcmyk(27.4%, 0%, 79.3%, 47.1%)
CIE-LABlab(51.85, -28.95, 49.25)
CIE-LCHlch(51.85, 57.13, 120.44°)
OKLaboklab(57.51% -0.0833 0.1088)
OKLCHoklch(57.51% 0.137 127.4)
XYZxyz(13.9106, 20.0082, 4.2275)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62871C #411C87
analogous
#87771C #62871C #2C871C
triadic
#62871C #1C6287 #871C62
tetradic
#62871C #1C8777 #411C87 #871C2C
square
#62871C #1C8777 #411C87 #871C2C
split-complementary
#62871C #1C2C87 #771C87
monochromatic
#182207 #3D5411 #62871C #87BA27 #A5D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62871C#FFFFFF#000000##000000
##62871C1.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)
#8E7D00
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#668073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #62871c;
/* rgb */ color: rgb(98, 135, 28);
/* oklch */ color: oklch(57.5% 0.137 127.4);
Tailwind
colors: {
  custom: {
    50: '#92aa62',
    500: '#62871c',
    950: '#000000',
  },
}
SCSS
$custom: #62871c;
$custom-light: #92aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#62871c",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 80.748,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.13708,
    "h": 127.4
  },
  "luminance": 0.20008
}

Semantic roles & 50–950 ramp

primary
#62871C
secondary
#6D45BA
accent
#3FE97A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #62871C

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

Preview Lab → · Contrast checker → · Palette generator →

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