#628240#628240

#628240 is a mid, moderate yellow-green. Relative luminance 0.189; OKLCH L 56.6% C 0.100 H 130.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#628240
RGBrgb(98, 130, 64)
HSLhsl(89, 34%, 38%)
HSVhsv(89, 51%, 51%)
CMYKcmyk(24.6%, 0%, 50.8%, 49%)
CIE-LABlab(50.61, -23.39, 31.89)
CIE-LCHlch(50.61, 39.55, 126.26°)
OKLaboklab(56.61% -0.0649 0.0764)
OKLCHoklch(56.61% 0.1 130.3)
XYZxyz(13.9449, 18.9318, 7.7690)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628240 #604082
analogous
#828140 #628240 #418240
triadic
#628240 #406282 #824062
tetradic
#628240 #408281 #604082 #824041
square
#628240 #408281 #604082 #824041
split-complementary
#628240 #404182 #814082
monochromatic
#243018 #43592C #628240 #81AB54 #9FBF7D

Accessibility & contrast

On white

4.39
#628240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#628240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628240
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628240#FFFFFF#000000##000000
##6282401.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3A
Deuteranopia (green-blind)
#837844
Tritanopia (blue-blind)
#647D73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628240;
/* rgb */ color: rgb(98, 130, 64);
/* oklch */ color: oklch(56.6% 0.100 130.3);
Tailwind
colors: {
  custom: {
    50: '#90a676',
    500: '#628240',
    950: '#000000',
  },
}
SCSS
$custom: #628240;
$custom-light: #90a676;
$custom-dark: #000000;
JSON
{
  "hex": "#628240",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 89.091,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56612,
    "c": 0.10027,
    "h": 130.3
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#628240
secondary
#8E74AA
accent
#5ECA92
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #628240

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

Preview Lab → · Contrast checker → · Palette generator →

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