#628028#628028

#628028 is a mid, moderate yellow-green. Relative luminance 0.182; OKLCH L 55.8% C 0.120 H 126.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#628028
RGBrgb(98, 128, 40)
HSLhsl(80, 52%, 33%)
HSVhsv(80, 69%, 50%)
CMYKcmyk(23.4%, 0%, 68.8%, 49.8%)
CIE-LABlab(49.72, -24.76, 42.54)
CIE-LCHlch(49.72, 49.22, 120.20°)
OKLaboklab(55.81% -0.0709 0.0967)
OKLCHoklch(55.81% 0.12 126.2)
XYZxyz(13.1392, 18.1880, 4.8255)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628028 #462880
analogous
#807228 #628028 #368028
triadic
#628028 #286280 #802862
tetradic
#628028 #288072 #462880 #802836
square
#628028 #288072 #462880 #802836
split-complementary
#628028 #283680 #722880
monochromatic
#1B230B #3E5119 #628028 #86AF37 #A3CB58

Accessibility & contrast

On white

4.53
#628028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#628028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628028
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628028#FFFFFF#000000##000000
##6280281.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771C
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#667A6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #628028;
/* rgb */ color: rgb(98, 128, 40);
/* oklch */ color: oklch(55.8% 0.120 126.2);
Tailwind
colors: {
  custom: {
    50: '#91a567',
    500: '#628028',
    950: '#000000',
  },
}
SCSS
$custom: #628028;
$custom-light: #91a567;
$custom-dark: #000000;
JSON
{
  "hex": "#628028",
  "rgb": {
    "r": 98,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 80.455,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55814,
    "c": 0.11987,
    "h": 126.2
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#628028
secondary
#7354B0
accent
#4CDC7D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628028

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

Preview Lab → · Contrast checker → · Palette generator →

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