#628428#628428

#628428 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.8% C 0.125 H 127.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#628428
RGBrgb(98, 132, 40)
HSLhsl(82, 53%, 34%)
HSVhsv(82, 70%, 52%)
CMYKcmyk(25.8%, 0%, 69.7%, 48.2%)
CIE-LABlab(50.98, -26.74, 43.85)
CIE-LCHlch(50.98, 51.36, 121.37°)
OKLaboklab(56.83% -0.0763 0.0994)
OKLCHoklch(56.83% 0.125 127.5)
XYZxyz(13.6713, 19.2521, 5.0028)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628428 #4A2884
analogous
#847828 #628428 #348428
triadic
#628428 #286284 #842862
tetradic
#628428 #288478 #4A2884 #842834
square
#628428 #288478 #4A2884 #842834
split-complementary
#628428 #283484 #782884
monochromatic
#1C260C #3F551A #628428 #85B336 #A2CD5A

Accessibility & contrast

On white

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

On black

4.85
#628428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628428
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628428#FFFFFF#000000##000000
##6284281.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1B
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#667E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628428;
/* rgb */ color: rgb(98, 132, 40);
/* oklch */ color: oklch(56.8% 0.125 127.5);
Tailwind
colors: {
  custom: {
    50: '#92a867',
    500: '#628428',
    950: '#000000',
  },
}
SCSS
$custom: #628428;
$custom-light: #92a867;
$custom-dark: #000000;
JSON
{
  "hex": "#628428",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 82.174,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.12533,
    "h": 127.5
  },
  "luminance": 0.19252
}

Semantic roles & 50–950 ramp

primary
#628428
secondary
#7856B2
accent
#4BDD81
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628428

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

Preview Lab → · Contrast checker → · Palette generator →

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