#62871F#62871F

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

Color values

HEX#62871F
RGBrgb(98, 135, 31)
HSLhsl(81, 63%, 33%)
HSVhsv(81, 77%, 53%)
CMYKcmyk(27.4%, 0%, 77%, 47.1%)
CIE-LABlab(51.86, -28.78, 48.24)
CIE-LCHlch(51.86, 56.17, 120.82°)
OKLaboklab(57.53% -0.0827 0.1072)
OKLCHoklch(57.53% 0.135 127.6)
XYZxyz(13.9483, 20.0232, 4.4261)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62871F #441F87
analogous
#87781F #62871F #2E871F
triadic
#62871F #1F6287 #871F62
tetradic
#62871F #1F8778 #441F87 #871F2E
square
#62871F #1F8778 #441F87 #871F2E
split-complementary
#62871F #1F2E87 #781F87
monochromatic
#1A2308 #3E5514 #62871F #86B92A #A4D64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62871F#FFFFFF#000000##000000
##62871F1.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)
#8E7D08
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#668173
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #62871f;
/* rgb */ color: rgb(98, 135, 31);
/* oklch */ color: oklch(57.5% 0.135 127.6);
Tailwind
colors: {
  custom: {
    50: '#92aa63',
    500: '#62871f',
    950: '#000000',
  },
}
SCSS
$custom: #62871f;
$custom-light: #92aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#62871f",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 81.346,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.13537,
    "h": 127.6
  },
  "luminance": 0.20024
}

Semantic roles & 50–950 ramp

primary
#62871F
secondary
#714AB8
accent
#42E67C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #62871F

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

Preview Lab → · Contrast checker → · Palette generator →

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