#62872A#62872A

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

Color values

HEX#62872A
RGBrgb(98, 135, 42)
HSLhsl(84, 53%, 35%)
HSVhsv(84, 69%, 53%)
CMYKcmyk(27.4%, 0%, 68.9%, 47.1%)
CIE-LABlab(51.94, -28.04, 44.00)
CIE-LCHlch(51.94, 52.18, 122.51°)
OKLaboklab(57.62% -0.0797 0.1001)
OKLCHoklch(57.62% 0.128 128.5)
XYZxyz(14.1189, 20.0915, 5.3242)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62872A #4F2A87
analogous
#877E2A #62872A #34872A
triadic
#62872A #2A6287 #872A62
tetradic
#62872A #2A877E #4F2A87 #872A34
square
#62872A #2A877E #4F2A87 #872A34
split-complementary
#62872A #2A3487 #7E2A87
monochromatic
#1E2A0D #40581B #62872A #84B639 #A1CD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62872A#FFFFFF#000000##000000
##62872A1.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)
#8E7D1D
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#658174
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #62872a;
/* rgb */ color: rgb(98, 135, 42);
/* oklch */ color: oklch(57.6% 0.128 128.5);
Tailwind
colors: {
  custom: {
    50: '#92aa69',
    500: '#62872a',
    950: '#000000',
  },
}
SCSS
$custom: #62872a;
$custom-light: #92aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#62872a",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 83.871,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.12791,
    "h": 128.5
  },
  "luminance": 0.20092
}

Semantic roles & 50–950 ramp

primary
#62872A
secondary
#7D5AB3
accent
#4CDC85
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #62872A

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

Preview Lab → · Contrast checker → · Palette generator →

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