#628131#628131

#628131 is a mid, moderate yellow-green. Relative luminance 0.185; OKLCH L 56.2% C 0.114 H 127.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#628131
RGBrgb(98, 129, 49)
HSLhsl(83, 45%, 35%)
HSVhsv(83, 62%, 51%)
CMYKcmyk(24%, 0%, 62%, 49.4%)
CIE-LABlab(50.12, -24.50, 38.87)
CIE-LCHlch(50.12, 45.95, 122.22°)
OKLaboklab(56.16% -0.0693 0.0901)
OKLCHoklch(56.16% 0.114 127.5)
XYZxyz(13.4416, 18.5187, 5.7714)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628131 #503181
analogous
#817831 #628131 #3A8131
triadic
#628131 #316281 #813162
tetradic
#628131 #318178 #503181 #81313A
square
#628131 #318178 #503181 #81313A
split-complementary
#628131 #313A81 #783181
monochromatic
#1F280F #405520 #628131 #84AD42 #A1C567

Accessibility & contrast

On white

4.46
#628131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#628131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628131
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628131#FFFFFF#000000##000000
##6281311.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877928
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#657B70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628131;
/* rgb */ color: rgb(98, 129, 49);
/* oklch */ color: oklch(56.2% 0.114 127.5);
Tailwind
colors: {
  custom: {
    50: '#91a56c',
    500: '#628131',
    950: '#000000',
  },
}
SCSS
$custom: #628131;
$custom-light: #91a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#628131",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 83.25,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56161,
    "c": 0.11367,
    "h": 127.5
  },
  "luminance": 0.18519
}

Semantic roles & 50–950 ramp

primary
#628131
secondary
#7E61AD
accent
#53D585
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #628131

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

Preview Lab → · Contrast checker → · Palette generator →

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