#62842A#62842A

#62842A is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.9% C 0.124 H 127.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#62842A
RGBrgb(98, 132, 42)
HSLhsl(83, 52%, 34%)
HSVhsv(83, 68%, 52%)
CMYKcmyk(25.8%, 0%, 68.2%, 48.2%)
CIE-LABlab(51.00, -26.58, 43.01)
CIE-LCHlch(51.00, 50.56, 121.72°)
OKLaboklab(56.85% -0.0757 0.098)
OKLCHoklch(56.85% 0.124 127.7)
XYZxyz(13.7062, 19.2661, 5.1867)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62842A #4C2A84
analogous
#84792A #62842A #35842A
triadic
#62842A #2A6284 #842A62
tetradic
#62842A #2A8479 #4C2A84 #842A35
square
#62842A #2A8479 #4C2A84 #842A35
split-complementary
#62842A #2A3584 #792A84
monochromatic
#1D270C #40561B #62842A #84B239 #A2CB5D

Accessibility & contrast

On white

4.33
#62842A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#62842A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62842A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62842A#FFFFFF#000000##000000
##62842A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1E
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#667E72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #62842a;
/* rgb */ color: rgb(98, 132, 42);
/* oklch */ color: oklch(56.9% 0.124 127.7);
Tailwind
colors: {
  custom: {
    50: '#91a869',
    500: '#62842a',
    950: '#000000',
  },
}
SCSS
$custom: #62842a;
$custom-light: #91a869;
$custom-dark: #000000;
JSON
{
  "hex": "#62842a",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 82.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56851,
    "c": 0.1238,
    "h": 127.7
  },
  "luminance": 0.19266
}

Semantic roles & 50–950 ramp

primary
#62842A
secondary
#7A59B1
accent
#4DDB82
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #62842A

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

Preview Lab → · Contrast checker → · Palette generator →

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