#62811F#62811F

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

Color values

HEX#62811F
RGBrgb(98, 129, 31)
HSLhsl(79, 61%, 31%)
HSVhsv(79, 76%, 51%)
CMYKcmyk(24%, 0%, 76%, 49.4%)
CIE-LABlab(49.97, -25.86, 46.41)
CIE-LCHlch(49.97, 53.13, 119.13°)
OKLaboklab(56% -0.0747 0.1034)
OKLCHoklch(56% 0.128 125.9)
XYZxyz(13.1347, 18.3959, 4.1548)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62811F #3E1F81
analogous
#816F1F #62811F #31811F
triadic
#62811F #1F6281 #811F62
tetradic
#62811F #1F816F #3E1F81 #811F31
square
#62811F #1F816F #3E1F81 #811F31
split-complementary
#62811F #1F3181 #6F1F81
monochromatic
#171E07 #3D5013 #62811F #87B22B #A7D347

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62811F#FFFFFF#000000##000000
##62811F1.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)
#88780B
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#667B6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #62811f;
/* rgb */ color: rgb(98, 129, 31);
/* oklch */ color: oklch(56.0% 0.128 125.9);
Tailwind
colors: {
  custom: {
    50: '#92a562',
    500: '#62811f',
    950: '#000000',
  },
}
SCSS
$custom: #62811f;
$custom-light: #92a562;
$custom-dark: #000000;
JSON
{
  "hex": "#62811f",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 78.98,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.12754,
    "h": 125.9
  },
  "luminance": 0.18396
}

Semantic roles & 50–950 ramp

primary
#62811F
secondary
#6A48B4
accent
#43E476
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #62811F

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

Preview Lab → · Contrast checker → · Palette generator →

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