#62881B#62881B

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

Color values

HEX#62881B
RGBrgb(98, 136, 27)
HSLhsl(81, 67%, 32%)
HSVhsv(81, 80%, 53%)
CMYKcmyk(27.9%, 0%, 80.1%, 46.7%)
CIE-LABlab(52.16, -29.48, 49.87)
CIE-LCHlch(52.16, 57.93, 120.58°)
OKLaboklab(57.76% -0.0849 0.11)
OKLCHoklch(57.76% 0.139 127.7)
XYZxyz(14.0390, 20.2838, 4.2122)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62881B #411B88
analogous
#88771B #62881B #2C881B
triadic
#62881B #1B6288 #881B62
tetradic
#62881B #1B8877 #411B88 #881B2C
square
#62881B #1B8877 #411B88 #881B2C
split-complementary
#62881B #1B2C88 #771B88
monochromatic
#182207 #3D5511 #62881B #87BB25 #A5DA44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62881B#FFFFFF#000000##000000
##62881B1.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)
#8F7E00
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#668174
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #62881b;
/* rgb */ color: rgb(98, 136, 27);
/* oklch */ color: oklch(57.8% 0.139 127.7);
Tailwind
colors: {
  custom: {
    50: '#92ab61',
    500: '#62881b',
    950: '#000000',
  },
}
SCSS
$custom: #62881b;
$custom-light: #92ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#62881b",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 80.917,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5776,
    "c": 0.1389,
    "h": 127.7
  },
  "luminance": 0.20284
}

Semantic roles & 50–950 ramp

primary
#62881B
secondary
#6D44BB
accent
#3EEA7A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #62881B

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

Preview Lab → · Contrast checker → · Palette generator →

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