#628340#628340

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

Color values

HEX#628340
RGBrgb(98, 131, 64)
HSLhsl(90, 34%, 38%)
HSVhsv(90, 51%, 51%)
CMYKcmyk(25.2%, 0%, 51.1%, 48.6%)
CIE-LABlab(50.92, -23.89, 32.27)
CIE-LCHlch(50.92, 40.15, 126.52°)
OKLaboklab(56.86% -0.0663 0.0773)
OKLCHoklch(56.86% 0.102 130.6)
XYZxyz(14.0785, 19.1991, 7.8136)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628340 #614083
analogous
#838240 #628340 #408340
triadic
#628340 #406283 #834062
tetradic
#628340 #408382 #614083 #834040
square
#628340 #408382 #614083 #834040
split-complementary
#628340 #404083 #824083
monochromatic
#243118 #435A2C #628340 #81AC54 #9FC07E

Accessibility & contrast

On white

4.34
#628340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##628340#FFFFFF#000000##000000
##6283401.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #628340;
/* rgb */ color: rgb(98, 131, 64);
/* oklch */ color: oklch(56.9% 0.102 130.6);
Tailwind
colors: {
  custom: {
    50: '#90a776',
    500: '#628340',
    950: '#000000',
  },
}
SCSS
$custom: #628340;
$custom-light: #90a776;
$custom-dark: #000000;
JSON
{
  "hex": "#628340",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 89.552,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56864,
    "c": 0.10182,
    "h": 130.6
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#628340
secondary
#8F75AA
accent
#5DCA93
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #628340

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

Preview Lab → · Contrast checker → · Palette generator →

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