#62801F#62801F

#62801F is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.7% C 0.126 H 125.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#62801F
RGBrgb(98, 128, 31)
HSLhsl(79, 61%, 31%)
HSVhsv(79, 76%, 50%)
CMYKcmyk(23.4%, 0%, 75.8%, 49.8%)
CIE-LABlab(49.66, -25.37, 46.11)
CIE-LCHlch(49.66, 52.63, 118.82°)
OKLaboklab(55.74% -0.0734 0.1027)
OKLCHoklch(55.74% 0.126 125.5)
XYZxyz(13.0036, 18.1338, 4.1111)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62801F #3D1F80
analogous
#806D1F #62801F #31801F
triadic
#62801F #1F6280 #801F62
tetradic
#62801F #1F806D #3D1F80 #801F31
square
#62801F #1F806D #3D1F80 #801F31
split-complementary
#62801F #1F3180 #6D1F80
monochromatic
#171D07 #3C4F13 #62801F #88B12B #A7D247

Accessibility & contrast

On white

4.54
#62801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#62801F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62801F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62801F#FFFFFF#000000##000000
##62801F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770C
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#677A6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #62801f;
/* rgb */ color: rgb(98, 128, 31);
/* oklch */ color: oklch(55.7% 0.126 125.5);
Tailwind
colors: {
  custom: {
    50: '#92a562',
    500: '#62801f',
    950: '#000000',
  },
}
SCSS
$custom: #62801f;
$custom-light: #92a562;
$custom-dark: #000000;
JSON
{
  "hex": "#62801f",
  "rgb": {
    "r": 98,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 78.557,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5574,
    "c": 0.12623,
    "h": 125.5
  },
  "luminance": 0.18134
}

Semantic roles & 50–950 ramp

primary
#62801F
secondary
#6948B3
accent
#44E475
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #62801F

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

Preview Lab → · Contrast checker → · Palette generator →

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