#628633#628633

#628633 is a mid, moderate yellow-green. Relative luminance 0.199; OKLCH L 57.5% C 0.119 H 129.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#628633
RGBrgb(98, 134, 51)
HSLhsl(86, 45%, 36%)
HSVhsv(86, 62%, 53%)
CMYKcmyk(26.9%, 0%, 61.9%, 47.5%)
CIE-LABlab(51.71, -26.78, 39.70)
CIE-LCHlch(51.71, 47.89, 124.01°)
OKLaboklab(57.45% -0.0754 0.0921)
OKLCHoklch(57.45% 0.119 129.3)
XYZxyz(14.1596, 19.8855, 6.2236)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628633 #573386
analogous
#868133 #628633 #398633
triadic
#628633 #336286 #863362
tetradic
#628633 #338681 #573386 #863339
square
#628633 #338681 #573386 #863339
split-complementary
#628633 #333986 #813386
monochromatic
#212D11 #425A22 #628633 #82B244 #A0C76C

Accessibility & contrast

On white

4.22
#628633 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#628633 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628633
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628633#FFFFFF#000000##000000
##6286331.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2A
Deuteranopia (green-blind)
#877A39
Tritanopia (blue-blind)
#658074
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #628633;
/* rgb */ color: rgb(98, 134, 51);
/* oklch */ color: oklch(57.5% 0.119 129.3);
Tailwind
colors: {
  custom: {
    50: '#91a96e',
    500: '#628633',
    950: '#000000',
  },
}
SCSS
$custom: #628633;
$custom-light: #91a96e;
$custom-dark: #000000;
JSON
{
  "hex": "#628633",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 51
  },
  "hsl": {
    "h": 86.024,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57454,
    "c": 0.11906,
    "h": 129.3
  },
  "luminance": 0.19886
}

Semantic roles & 50–950 ramp

primary
#628633
secondary
#8666AF
accent
#53D58B
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628633

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

Preview Lab → · Contrast checker → · Palette generator →

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