#62871D#62871D

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

Color values

HEX#62871D
RGBrgb(98, 135, 29)
HSLhsl(81, 65%, 32%)
HSVhsv(81, 79%, 53%)
CMYKcmyk(27.4%, 0%, 78.5%, 47.1%)
CIE-LABlab(51.85, -28.89, 48.92)
CIE-LCHlch(51.85, 56.82, 120.57°)
OKLaboklab(57.52% -0.0831 0.1083)
OKLCHoklch(57.52% 0.137 127.5)
XYZxyz(13.9228, 20.0130, 4.2915)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62871D #421D87
analogous
#87771D #62871D #2D871D
triadic
#62871D #1D6287 #871D62
tetradic
#62871D #1D8777 #421D87 #871D2D
square
#62871D #1D8777 #421D87 #871D2D
split-complementary
#62871D #1D2D87 #771D87
monochromatic
#192207 #3D5512 #62871D #87B928 #A5D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62871D#FFFFFF#000000##000000
##62871D1.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)
#8E7D03
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#668173
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #62871d;
/* rgb */ color: rgb(98, 135, 29);
/* oklch */ color: oklch(57.5% 0.137 127.5);
Tailwind
colors: {
  custom: {
    50: '#92aa62',
    500: '#62871d',
    950: '#000000',
  },
}
SCSS
$custom: #62871d;
$custom-light: #92aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#62871d",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 80.943,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57516,
    "c": 0.13653,
    "h": 127.5
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#62871D
secondary
#6F46B9
accent
#40E87B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #62871D

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

Preview Lab → · Contrast checker → · Palette generator →

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