#62811B#62811B

#62811B is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.130 H 125.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#62811B
RGBrgb(98, 129, 27)
HSLhsl(78, 65%, 31%)
HSVhsv(78, 79%, 51%)
CMYKcmyk(24%, 0%, 79.1%, 49.4%)
CIE-LABlab(49.95, -26.09, 47.81)
CIE-LCHlch(49.95, 54.46, 118.62°)
OKLaboklab(55.97% -0.0756 0.1056)
OKLCHoklch(55.97% 0.13 125.6)
XYZxyz(13.0852, 18.3761, 3.8943)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62811B #3A1B81
analogous
#816D1B #62811B #2F811B
triadic
#62811B #1B6281 #811B62
tetradic
#62811B #1B816D #3A1B81 #811B2F
square
#62811B #1B816D #3A1B81 #811B2F
split-complementary
#62811B #1B2F81 #6D1B81
monochromatic
#151C06 #3C4E10 #62811B #88B426 #A9D73F

Accessibility & contrast

On white

4.49
#62811B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#62811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62811B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62811B#FFFFFF#000000##000000
##62811B1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887802
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#677B6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #62811b;
/* rgb */ color: rgb(98, 129, 27);
/* oklch */ color: oklch(56.0% 0.130 125.6);
Tailwind
colors: {
  custom: {
    50: '#92a560',
    500: '#62811b',
    950: '#000000',
  },
}
SCSS
$custom: #62811b;
$custom-light: #92a560;
$custom-dark: #000000;
JSON
{
  "hex": "#62811b",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 78.235,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55969,
    "c": 0.12992,
    "h": 125.6
  },
  "luminance": 0.18376
}

Semantic roles & 50–950 ramp

primary
#62811B
secondary
#6643B5
accent
#3FE873
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #62811B

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

Preview Lab → · Contrast checker → · Palette generator →

#62811B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva