#62871B#62871B

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

Color values

HEX#62871B
RGBrgb(98, 135, 27)
HSLhsl(81, 67%, 32%)
HSVhsv(81, 80%, 53%)
CMYKcmyk(27.4%, 0%, 80%, 47.1%)
CIE-LABlab(51.84, -29.00, 49.58)
CIE-LCHlch(51.84, 57.44, 120.32°)
OKLaboklab(57.5% -0.0836 0.1093)
OKLCHoklch(57.5% 0.138 127.4)
XYZxyz(13.8988, 20.0035, 4.1655)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62871B #401B87
analogous
#87761B #62871B #2C871B
triadic
#62871B #1B6287 #871B62
tetradic
#62871B #1B8776 #401B87 #871B2C
square
#62871B #1B8776 #401B87 #871B2C
split-complementary
#62871B #1B2C87 #761B87
monochromatic
#182107 #3D5411 #62871B #87BA25 #A6D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62871B#FFFFFF#000000##000000
##62871B1.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)
#897B26
Tritanopia (blue-blind)
#668073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #62871b;
/* rgb */ color: rgb(98, 135, 27);
/* oklch */ color: oklch(57.5% 0.138 127.4);
Tailwind
colors: {
  custom: {
    50: '#92aa61',
    500: '#62871b',
    950: '#000000',
  },
}
SCSS
$custom: #62871b;
$custom-light: #92aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#62871b",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 80.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57504,
    "c": 0.13762,
    "h": 127.4
  },
  "luminance": 0.20004
}

Semantic roles & 50–950 ramp

primary
#62871B
secondary
#6C44BA
accent
#3EEA79
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #62871B

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

Preview Lab → · Contrast checker → · Palette generator →

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