#62831D#62831D

#62831D is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.131 H 126.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#62831D
RGBrgb(98, 131, 29)
HSLhsl(79, 64%, 31%)
HSVhsv(79, 78%, 51%)
CMYKcmyk(25.2%, 0%, 77.9%, 48.6%)
CIE-LABlab(50.59, -26.96, 47.73)
CIE-LCHlch(50.59, 54.82, 119.46°)
OKLaboklab(56.49% -0.0779 0.1058)
OKLCHoklch(56.49% 0.131 126.4)
XYZxyz(13.3751, 18.9178, 4.1090)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62831D #3E1D83
analogous
#83711D #62831D #2F831D
triadic
#62831D #1D6283 #831D62
tetradic
#62831D #1D8371 #3E1D83 #831D2F
square
#62831D #1D8371 #3E1D83 #831D2F
split-complementary
#62831D #1D2F83 #711D83
monochromatic
#171F07 #3D5112 #62831D #87B528 #A7D645

Accessibility & contrast

On white

4.39
#62831D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#62831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62831D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62831D#FFFFFF#000000##000000
##62831D1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A05
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#667D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #62831d;
/* rgb */ color: rgb(98, 131, 29);
/* oklch */ color: oklch(56.5% 0.131 126.4);
Tailwind
colors: {
  custom: {
    50: '#92a762',
    500: '#62831d',
    950: '#000000',
  },
}
SCSS
$custom: #62831d;
$custom-light: #92a762;
$custom-dark: #000000;
JSON
{
  "hex": "#62831d",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 79.412,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.13136,
    "h": 126.4
  },
  "luminance": 0.18918
}

Semantic roles & 50–950 ramp

primary
#62831D
secondary
#6A46B6
accent
#41E777
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #62831D

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

Preview Lab → · Contrast checker → · Palette generator →

#62831D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva