#62831A#62831A

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

Color values

HEX#62831A
RGBrgb(98, 131, 26)
HSLhsl(79, 67%, 31%)
HSVhsv(79, 80%, 51%)
CMYKcmyk(25.2%, 0%, 80.2%, 48.6%)
CIE-LABlab(50.57, -27.12, 48.73)
CIE-LCHlch(50.57, 55.76, 119.10°)
OKLaboklab(56.47% -0.0785 0.1074)
OKLCHoklch(56.47% 0.133 126.2)
XYZxyz(13.3398, 18.9036, 3.9230)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62831A #3B1A83
analogous
#836F1A #62831A #2D831A
triadic
#62831A #1A6283 #831A62
tetradic
#62831A #1A836F #3B1A83 #831A2D
square
#62831A #1A836F #3B1A83 #831A2D
split-complementary
#62831A #1A2D83 #6F1A83
monochromatic
#161D06 #3C5010 #62831A #88B624 #A8D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62831A#FFFFFF#000000##000000
##62831A1.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)
#8A7A00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#667C70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #62831a;
/* rgb */ color: rgb(98, 131, 26);
/* oklch */ color: oklch(56.5% 0.133 126.2);
Tailwind
colors: {
  custom: {
    50: '#92a760',
    500: '#62831a',
    950: '#000000',
  },
}
SCSS
$custom: #62831a;
$custom-light: #92a760;
$custom-dark: #000000;
JSON
{
  "hex": "#62831a",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 78.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.13303,
    "h": 126.2
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#62831A
secondary
#6742B7
accent
#3EEA74
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #62831A

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

Preview Lab → · Contrast checker → · Palette generator →

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