#62881F#62881F

#62881F is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.8% C 0.137 H 127.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#62881F
RGBrgb(98, 136, 31)
HSLhsl(82, 63%, 33%)
HSVhsv(82, 77%, 53%)
CMYKcmyk(27.9%, 0%, 77.2%, 46.7%)
CIE-LABlab(52.18, -29.26, 48.54)
CIE-LCHlch(52.18, 56.68, 121.08°)
OKLaboklab(57.79% -0.084 0.1078)
OKLCHoklch(57.79% 0.137 127.9)
XYZxyz(14.0885, 20.3036, 4.4728)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62881F #451F88
analogous
#88791F #62881F #2E881F
triadic
#62881F #1F6288 #881F62
tetradic
#62881F #1F8879 #451F88 #881F2E
square
#62881F #1F8879 #451F88 #881F2E
split-complementary
#62881F #1F2E88 #791F88
monochromatic
#1A2408 #3E5614 #62881F #86BA2A #A4D64B

Accessibility & contrast

On white

4.15
#62881F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#62881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62881F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62881F#FFFFFF#000000##000000
##62881F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E07
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#668274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #62881f;
/* rgb */ color: rgb(98, 136, 31);
/* oklch */ color: oklch(57.8% 0.137 127.9);
Tailwind
colors: {
  custom: {
    50: '#92ab63',
    500: '#62881f',
    950: '#000000',
  },
}
SCSS
$custom: #62881f;
$custom-light: #92ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#62881f",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 81.714,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57785,
    "c": 0.13667,
    "h": 127.9
  },
  "luminance": 0.20304
}

Semantic roles & 50–950 ramp

primary
#62881F
secondary
#724AB9
accent
#42E67D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #62881F

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

Preview Lab → · Contrast checker → · Palette generator →

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