#62842F#62842F

#62842F is a mid, moderate yellow-green. Relative luminance 0.193; OKLCH L 56.9% C 0.120 H 128.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#62842F
RGBrgb(98, 132, 47)
HSLhsl(84, 47%, 35%)
HSVhsv(84, 64%, 52%)
CMYKcmyk(25.8%, 0%, 64.4%, 48.2%)
CIE-LABlab(51.04, -26.17, 40.82)
CIE-LCHlch(51.04, 48.49, 122.66°)
OKLaboklab(56.9% -0.0741 0.094)
OKLCHoklch(56.9% 0.12 128.2)
XYZxyz(13.8013, 19.3042, 5.6877)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62842F #512F84
analogous
#847B2F #62842F #37842F
triadic
#62842F #2F6284 #842F62
tetradic
#62842F #2F847B #512F84 #842F37
square
#62842F #2F847B #512F84 #842F37
split-complementary
#62842F #2F3784 #7B2F84
monochromatic
#1F2A0F #40571F #62842F #84B13F #A1C865

Accessibility & contrast

On white

4.32
#62842F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#62842F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62842F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62842F#FFFFFF#000000##000000
##62842F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B25
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#657E72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #62842f;
/* rgb */ color: rgb(98, 132, 47);
/* oklch */ color: oklch(56.9% 0.120 128.2);
Tailwind
colors: {
  custom: {
    50: '#91a86b',
    500: '#62842f',
    950: '#000000',
  },
}
SCSS
$custom: #62842f;
$custom-light: #91a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#62842f",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 84,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56901,
    "c": 0.11971,
    "h": 128.2
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#62842F
secondary
#7F60AF
accent
#51D786
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #62842F

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

Preview Lab → · Contrast checker → · Palette generator →

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