#62874F#62874F

#62874F is a mid, moderate yellow-green. Relative luminance 0.205; OKLCH L 58.1% C 0.092 H 135.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#62874F
RGBrgb(98, 135, 79)
HSLhsl(100, 26%, 42%)
HSVhsv(100, 41%, 53%)
CMYKcmyk(27.4%, 0%, 41.5%, 47.1%)
CIE-LABlab(52.39, -23.89, 26.03)
CIE-LCHlch(52.39, 35.34, 132.54°)
OKLaboklab(58.12% -0.0654 0.064)
OKLCHoklch(58.12% 0.092 135.6)
XYZxyz(15.1119, 20.4887, 10.5541)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62874F #744F87
analogous
#7E874F #62874F #4F8758
triadic
#62874F #4F6287 #874F62
tetradic
#62874F #4F7E87 #744F87 #87584F
square
#62874F #4F7E87 #744F87 #87584F
split-complementary
#62874F #584F87 #874F7E
monochromatic
#2A3A22 #466038 #62874F #80A86B #A1BF91

Accessibility & contrast

On white

4.12
#62874F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#62874F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62874F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62874F#FFFFFF#000000##000000
##62874F1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4B
Deuteranopia (green-blind)
#857C52
Tritanopia (blue-blind)
#618379
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #62874f;
/* rgb */ color: rgb(98, 135, 79);
/* oklch */ color: oklch(58.1% 0.092 135.6);
Tailwind
colors: {
  custom: {
    50: '#90aa81',
    500: '#62874f',
    950: '#000000',
  },
}
SCSS
$custom: #62874f;
$custom-light: #90aa81;
$custom-dark: #000000;
JSON
{
  "hex": "#62874f",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 99.643,
    "s": 26.168,
    "l": 41.961
  },
  "oklch": {
    "l": 0.58121,
    "c": 0.09155,
    "h": 135.6
  },
  "luminance": 0.20489
}

Semantic roles & 50–950 ramp

primary
#62874F
secondary
#9F86AC
accent
#65C3A3
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0D100A
muted
#7D7F7C

Preview Lab

Preview with #62874F

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

Preview Lab → · Contrast checker → · Palette generator →

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