#62841F#62841F

#62841F is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.8% C 0.131 H 126.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#62841F
RGBrgb(98, 132, 31)
HSLhsl(80, 62%, 32%)
HSVhsv(80, 77%, 52%)
CMYKcmyk(25.8%, 0%, 76.5%, 48.2%)
CIE-LABlab(50.92, -27.33, 47.33)
CIE-LCHlch(50.92, 54.65, 120.01°)
OKLaboklab(56.76% -0.0787 0.1053)
OKLCHoklch(56.76% 0.131 126.8)
XYZxyz(13.5356, 19.1979, 4.2885)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62841F #411F84
analogous
#84741F #62841F #30841F
triadic
#62841F #1F6284 #841F62
tetradic
#62841F #1F8474 #411F84 #841F30
square
#62841F #1F8474 #411F84 #841F30
split-complementary
#62841F #1F3084 #741F84
monochromatic
#182108 #3D5213 #62841F #87B62B #A5D449

Accessibility & contrast

On white

4.34
#62841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#62841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62841F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62841F#FFFFFF#000000##000000
##62841F1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B09
Deuteranopia (green-blind)
#867929
Tritanopia (blue-blind)
#667E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #62841f;
/* rgb */ color: rgb(98, 132, 31);
/* oklch */ color: oklch(56.8% 0.131 126.8);
Tailwind
colors: {
  custom: {
    50: '#92a863',
    500: '#62841f',
    950: '#000000',
  },
}
SCSS
$custom: #62841f;
$custom-light: #92a863;
$custom-dark: #000000;
JSON
{
  "hex": "#62841f",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 80.198,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56762,
    "c": 0.13146,
    "h": 126.8
  },
  "luminance": 0.19198
}

Semantic roles & 50–950 ramp

primary
#62841F
secondary
#6D48B7
accent
#43E579
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #62841F

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

Preview Lab → · Contrast checker → · Palette generator →

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