#628431#628431

#628431 is a mid, moderate yellow-green. Relative luminance 0.193; OKLCH L 56.9% C 0.118 H 128.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#628431
RGBrgb(98, 132, 49)
HSLhsl(85, 46%, 35%)
HSVhsv(85, 63%, 52%)
CMYKcmyk(25.8%, 0%, 62.9%, 48.2%)
CIE-LABlab(51.06, -25.99, 39.92)
CIE-LCHlch(51.06, 47.63, 123.07°)
OKLaboklab(56.92% -0.0734 0.0924)
OKLCHoklch(56.92% 0.118 128.5)
XYZxyz(13.8426, 19.3207, 5.9051)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628431 #533184
analogous
#847C31 #628431 #398431
triadic
#628431 #316284 #843162
tetradic
#628431 #31847C #533184 #843139
square
#628431 #31847C #533184 #843139
split-complementary
#628431 #313984 #7C3184
monochromatic
#202B10 #415720 #628431 #83B142 #A0C768

Accessibility & contrast

On white

4.32
#628431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#628431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628431
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628431#FFFFFF#000000##000000
##6284311.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B27
Deuteranopia (green-blind)
#857937
Tritanopia (blue-blind)
#657E72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #628431;
/* rgb */ color: rgb(98, 132, 49);
/* oklch */ color: oklch(56.9% 0.118 128.5);
Tailwind
colors: {
  custom: {
    50: '#91a86d',
    500: '#628431',
    950: '#000000',
  },
}
SCSS
$custom: #628431;
$custom-light: #91a86d;
$custom-dark: #000000;
JSON
{
  "hex": "#628431",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 49
  },
  "hsl": {
    "h": 84.578,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56923,
    "c": 0.11797,
    "h": 128.5
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#628431
secondary
#8262AE
accent
#52D688
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #628431

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

Preview Lab → · Contrast checker → · Palette generator →

#628431 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva