#62771F#62771F

#62771F is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.5% C 0.114 H 122.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#62771F
RGBrgb(98, 119, 31)
HSLhsl(74, 59%, 29%)
HSVhsv(74, 74%, 47%)
CMYKcmyk(17.6%, 0%, 73.9%, 53.3%)
CIE-LABlab(46.83, -20.81, 43.33)
CIE-LCHlch(46.83, 48.07, 115.65°)
OKLaboklab(53.45% -0.0608 0.0969)
OKLCHoklch(53.45% 0.114 122.1)
XYZxyz(11.8813, 15.8892, 3.7371)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62771F #341F77
analogous
#77601F #62771F #36771F
triadic
#62771F #1F6277 #771F62
tetradic
#62771F #1F7760 #341F77 #771F36
square
#62771F #1F7760 #341F77 #771F36
split-complementary
#62771F #1F3677 #601F77
monochromatic
#141806 #3A4612 #62771F #8AA82C #ADCE43

Accessibility & contrast

On white

5.03
#62771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#62771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #62771F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62771F#FFFFFF#000000##FFFFFF
##62771F1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F10
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#677166
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #62771f;
/* rgb */ color: rgb(98, 119, 31);
/* oklch */ color: oklch(53.5% 0.114 122.1);
Tailwind
colors: {
  custom: {
    50: '#919e61',
    500: '#62771f',
    950: '#000000',
  },
}
SCSS
$custom: #62771f;
$custom-light: #919e61;
$custom-dark: #000000;
JSON
{
  "hex": "#62771f",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 74.318,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.11441,
    "h": 122.1
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

primary
#62771F
secondary
#5F47AB
accent
#46E26B
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #62771F

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

Preview Lab → · Contrast checker → · Palette generator →

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