#628342#628342

#628342 is a mid, moderate yellow-green. Relative luminance 0.192; OKLCH L 56.9% C 0.100 H 131.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#628342
RGBrgb(98, 131, 66)
HSLhsl(90, 33%, 39%)
HSVhsv(90, 50%, 51%)
CMYKcmyk(25.2%, 0%, 49.6%, 48.6%)
CIE-LABlab(50.95, -23.65, 31.25)
CIE-LCHlch(50.95, 39.19, 127.12°)
OKLaboklab(56.9% -0.0655 0.0752)
OKLCHoklch(56.9% 0.1 131.1)
XYZxyz(14.1365, 19.2223, 8.1187)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628342 #634283
analogous
#828342 #628342 #428342
triadic
#628342 #426283 #834262
tetradic
#628342 #428283 #634283 #834242
square
#628342 #428283 #634283 #834242
split-complementary
#628342 #424283 #834282
monochromatic
#253219 #445A2D #628342 #80AB58 #9FBF80

Accessibility & contrast

On white

4.33
#628342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#628342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628342
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628342#FFFFFF#000000##000000
##6283421.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3C
Deuteranopia (green-blind)
#837846
Tritanopia (blue-blind)
#647E74
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628342;
/* rgb */ color: rgb(98, 131, 66);
/* oklch */ color: oklch(56.9% 0.100 131.1);
Tailwind
colors: {
  custom: {
    50: '#90a778',
    500: '#628342',
    950: '#000000',
  },
}
SCSS
$custom: #628342;
$custom-light: #90a778;
$custom-dark: #000000;
JSON
{
  "hex": "#628342",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 90.462,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.09967,
    "h": 131.1
  },
  "luminance": 0.19223
}

Semantic roles & 50–950 ramp

primary
#628342
secondary
#9177AA
accent
#5FC995
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D0F09
muted
#7E7F7B

Preview Lab

Preview with #628342

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

Preview Lab → · Contrast checker → · Palette generator →

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