#62831C#62831C

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

Color values

HEX#62831C
RGBrgb(98, 131, 28)
HSLhsl(79, 65%, 31%)
HSVhsv(79, 79%, 51%)
CMYKcmyk(25.2%, 0%, 78.6%, 48.6%)
CIE-LABlab(50.59, -27.01, 48.07)
CIE-LCHlch(50.59, 55.14, 119.34°)
OKLaboklab(56.49% -0.0781 0.1063)
OKLCHoklch(56.49% 0.132 126.3)
XYZxyz(13.3630, 18.9129, 4.0449)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62831C #3D1C83
analogous
#83701C #62831C #2E831C
triadic
#62831C #1C6283 #831C62
tetradic
#62831C #1C8370 #3D1C83 #831C2E
square
#62831C #1C8370 #3D1C83 #831C2E
split-complementary
#62831C #1C2E83 #701C83
monochromatic
#171E06 #3C5111 #62831C #88B527 #A7D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62831C#FFFFFF#000000##000000
##62831C1.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)
#8A7A03
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#667D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #62831c;
/* rgb */ color: rgb(98, 131, 28);
/* oklch */ color: oklch(56.5% 0.132 126.3);
Tailwind
colors: {
  custom: {
    50: '#92a761',
    500: '#62831c',
    950: '#000000',
  },
}
SCSS
$custom: #62831c;
$custom-light: #92a761;
$custom-dark: #000000;
JSON
{
  "hex": "#62831c",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 79.223,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.13193,
    "h": 126.3
  },
  "luminance": 0.18913
}

Semantic roles & 50–950 ramp

primary
#62831C
secondary
#6945B6
accent
#40E876
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #62831C

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

Preview Lab → · Contrast checker → · Palette generator →

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