#62872B#62872B

#62872B is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.6% C 0.127 H 128.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#62872B
RGBrgb(98, 135, 43)
HSLhsl(84, 52%, 35%)
HSVhsv(84, 68%, 53%)
CMYKcmyk(27.4%, 0%, 68.1%, 47.1%)
CIE-LABlab(51.95, -27.97, 43.58)
CIE-LCHlch(51.95, 51.78, 122.69°)
OKLaboklab(57.63% -0.0794 0.0993)
OKLCHoklch(57.63% 0.127 128.6)
XYZxyz(14.1370, 20.0987, 5.4196)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62872B #502B87
analogous
#877E2B #62872B #34872B
triadic
#62872B #2B6287 #872B62
tetradic
#62872B #2B877E #502B87 #872B34
square
#62872B #2B877E #502B87 #872B34
split-complementary
#62872B #2B3487 #7E2B87
monochromatic
#1F2A0D #40591C #62872B #84B53A #A1CC60

Accessibility & contrast

On white

4.18
#62872B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#62872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62872B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62872B#FFFFFF#000000##000000
##62872B1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1E
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#658174
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #62872b;
/* rgb */ color: rgb(98, 135, 43);
/* oklch */ color: oklch(57.6% 0.127 128.6);
Tailwind
colors: {
  custom: {
    50: '#92aa69',
    500: '#62872b',
    950: '#000000',
  },
}
SCSS
$custom: #62872b;
$custom-light: #92aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#62872b",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 84.13,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57626,
    "c": 0.12714,
    "h": 128.6
  },
  "luminance": 0.20099
}

Semantic roles & 50–950 ramp

primary
#62872B
secondary
#7E5BB2
accent
#4DDB86
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #62872B

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

Preview Lab → · Contrast checker → · Palette generator →

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