#628E31#628E31

#628E31 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.132 H 131.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#628E31
RGBrgb(98, 142, 49)
HSLhsl(88, 49%, 37%)
HSVhsv(88, 65%, 56%)
CMYKcmyk(31%, 0%, 65.5%, 44.3%)
CIE-LABlab(54.20, -30.81, 43.36)
CIE-LCHlch(54.20, 53.19, 125.40°)
OKLaboklab(59.47% -0.0867 0.0997)
OKLCHoklch(59.47% 0.132 131)
XYZxyz(15.2642, 22.1639, 6.3790)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E31 #5D318E
analogous
#8E8B31 #628E31 #348E31
triadic
#628E31 #31628E #8E3162
tetradic
#628E31 #318E8B #5D318E #8E3134
square
#628E31 #318E8B #5D318E #8E3134
split-complementary
#628E31 #31348E #8B318E
monochromatic
#233312 #436121 #628E31 #81BB41 #9FCD6D

Accessibility & contrast

On white

3.87
#628E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#628E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E31
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E31#FFFFFF#000000##000000
##628E311.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948425
Deuteranopia (green-blind)
#8E8038
Tritanopia (blue-blind)
#64887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e31;
/* rgb */ color: rgb(98, 142, 49);
/* oklch */ color: oklch(59.5% 0.132 131.0);
Tailwind
colors: {
  custom: {
    50: '#92af6e',
    500: '#628e31',
    950: '#000000',
  },
}
SCSS
$custom: #628e31;
$custom-light: #92af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#628e31",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 88.387,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.13206,
    "h": 131
  },
  "luminance": 0.22164
}

Semantic roles & 50–950 ramp

primary
#628E31
secondary
#8B67B4
accent
#50D890
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628E31

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

Preview Lab → · Contrast checker → · Palette generator →

#628E31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva