#628331#628331

#628331 is a mid, moderate yellow-green. Relative luminance 0.191; OKLCH L 56.7% C 0.117 H 128.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#628331
RGBrgb(98, 131, 49)
HSLhsl(84, 46%, 35%)
HSVhsv(84, 63%, 51%)
CMYKcmyk(25.2%, 0%, 62.6%, 48.6%)
CIE-LABlab(50.75, -25.49, 39.57)
CIE-LCHlch(50.75, 47.07, 122.79°)
OKLaboklab(56.67% -0.072 0.0916)
OKLCHoklch(56.67% 0.117 128.2)
XYZxyz(13.7076, 19.0507, 5.8601)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628331 #523183
analogous
#837B31 #628331 #398331
triadic
#628331 #316283 #833162
tetradic
#628331 #31837B #523183 #833139
square
#628331 #31837B #523183 #833139
split-complementary
#628331 #313983 #7B3183
monochromatic
#1F2A10 #415620 #628331 #83B042 #A0C668

Accessibility & contrast

On white

4.37
#628331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#628331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628331
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628331#FFFFFF#000000##000000
##6283311.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A28
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#657D72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628331;
/* rgb */ color: rgb(98, 131, 49);
/* oklch */ color: oklch(56.7% 0.117 128.2);
Tailwind
colors: {
  custom: {
    50: '#91a76d',
    500: '#628331',
    950: '#000000',
  },
}
SCSS
$custom: #628331;
$custom-light: #91a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#628331",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 84.146,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56669,
    "c": 0.11654,
    "h": 128.2
  },
  "luminance": 0.19051
}

Semantic roles & 50–950 ramp

primary
#628331
secondary
#8062AE
accent
#53D587
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #628331

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

Preview Lab → · Contrast checker → · Palette generator →

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