#62831F#62831F

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

Color values

HEX#62831F
RGBrgb(98, 131, 31)
HSLhsl(80, 62%, 32%)
HSVhsv(80, 76%, 51%)
CMYKcmyk(25.2%, 0%, 76.3%, 48.6%)
CIE-LABlab(50.60, -26.85, 47.02)
CIE-LCHlch(50.60, 54.15, 119.72°)
OKLaboklab(56.51% -0.0774 0.1047)
OKLCHoklch(56.51% 0.13 126.5)
XYZxyz(13.4007, 18.9280, 4.2435)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62831F #401F83
analogous
#83721F #62831F #30831F
triadic
#62831F #1F6283 #831F62
tetradic
#62831F #1F8372 #401F83 #831F30
square
#62831F #1F8372 #401F83 #831F30
split-complementary
#62831F #1F3083 #721F83
monochromatic
#182008 #3D5213 #62831F #87B42B #A6D449

Accessibility & contrast

On white

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

On black

4.79
#62831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62831F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62831F#FFFFFF#000000##000000
##62831F1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62831f;
/* rgb */ color: rgb(98, 131, 31);
/* oklch */ color: oklch(56.5% 0.130 126.5);
Tailwind
colors: {
  custom: {
    50: '#92a763',
    500: '#62831f',
    950: '#000000',
  },
}
SCSS
$custom: #62831f;
$custom-light: #92a763;
$custom-dark: #000000;
JSON
{
  "hex": "#62831f",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 79.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56506,
    "c": 0.13016,
    "h": 126.5
  },
  "luminance": 0.18928
}

Semantic roles & 50–950 ramp

primary
#62831F
secondary
#6C48B6
accent
#43E578
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #62831F

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

Preview Lab → · Contrast checker → · Palette generator →

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