#62771E#62771E

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

Color values

HEX#62771E
RGBrgb(98, 119, 30)
HSLhsl(74, 60%, 29%)
HSVhsv(74, 75%, 47%)
CMYKcmyk(17.6%, 0%, 74.8%, 53.3%)
CIE-LABlab(46.82, -20.87, 43.72)
CIE-LCHlch(46.82, 48.44, 115.52°)
OKLaboklab(53.45% -0.0611 0.0975)
OKLCHoklch(53.45% 0.115 122.1)
XYZxyz(11.8683, 15.8840, 3.6687)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62771E #331E77
analogous
#77601E #62771E #36771E
triadic
#62771E #1E6277 #771E62
tetradic
#62771E #1E7760 #331E77 #771E36
square
#62771E #1E7760 #331E77 #771E36
split-complementary
#62771E #1E3677 #601E77
monochromatic
#141806 #3A4612 #62771E #8AA82A #ADCF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62771E#FFFFFF#000000##FFFFFF
##62771E1.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)
#7E6F0E
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#677166
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #62771e;
/* rgb */ color: rgb(98, 119, 30);
/* oklch */ color: oklch(53.4% 0.115 122.1);
Tailwind
colors: {
  custom: {
    50: '#919e60',
    500: '#62771e',
    950: '#000000',
  },
}
SCSS
$custom: #62771e;
$custom-light: #919e60;
$custom-dark: #000000;
JSON
{
  "hex": "#62771e",
  "rgb": {
    "r": 98,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 74.157,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53445,
    "c": 0.11509,
    "h": 122.1
  },
  "luminance": 0.15884
}

Semantic roles & 50–950 ramp

primary
#62771E
secondary
#5E46AB
accent
#45E36A
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #62771E

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

Preview Lab → · Contrast checker → · Palette generator →

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