#62811C#62811C

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

Color values

HEX#62811C
RGBrgb(98, 129, 28)
HSLhsl(78, 64%, 31%)
HSVhsv(78, 78%, 51%)
CMYKcmyk(24%, 0%, 78.3%, 49.4%)
CIE-LABlab(49.95, -26.03, 47.47)
CIE-LCHlch(49.95, 54.14, 118.74°)
OKLaboklab(55.97% -0.0754 0.1051)
OKLCHoklch(55.97% 0.129 125.7)
XYZxyz(13.0970, 18.3808, 3.9562)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62811C #3B1C81
analogous
#816D1C #62811C #2F811C
triadic
#62811C #1C6281 #811C62
tetradic
#62811C #1C816D #3B1C81 #811C2F
square
#62811C #1C816D #3B1C81 #811C2F
split-complementary
#62811C #1C2F81 #6D1C81
monochromatic
#161C06 #3C4F11 #62811C #88B327 #A8D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62811C#FFFFFF#000000##000000
##62811C1.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)
#887804
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#677B6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #62811c;
/* rgb */ color: rgb(98, 129, 28);
/* oklch */ color: oklch(56.0% 0.129 125.7);
Tailwind
colors: {
  custom: {
    50: '#92a561',
    500: '#62811c',
    950: '#000000',
  },
}
SCSS
$custom: #62811c;
$custom-light: #92a561;
$custom-dark: #000000;
JSON
{
  "hex": "#62811c",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 78.416,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55975,
    "c": 0.12934,
    "h": 125.7
  },
  "luminance": 0.18381
}

Semantic roles & 50–950 ramp

primary
#62811C
secondary
#6744B4
accent
#40E774
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #62811C

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

Preview Lab → · Contrast checker → · Palette generator →

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