#628128#628128

#628128 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.1% C 0.121 H 126.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#628128
RGBrgb(98, 129, 40)
HSLhsl(81, 53%, 33%)
HSVhsv(81, 69%, 51%)
CMYKcmyk(24%, 0%, 69%, 49.4%)
CIE-LABlab(50.04, -25.26, 42.87)
CIE-LCHlch(50.04, 49.76, 120.51°)
OKLaboklab(56.07% -0.0722 0.0974)
OKLCHoklch(56.07% 0.121 126.6)
XYZxyz(13.2703, 18.4502, 4.8692)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628128 #472881
analogous
#817328 #628128 #358128
triadic
#628128 #286281 #812862
tetradic
#628128 #288173 #472881 #812835
square
#628128 #288173 #472881 #812835
split-complementary
#628128 #283581 #732881
monochromatic
#1B240B #3F521A #628128 #85B036 #A3CB58

Accessibility & contrast

On white

4.48
#628128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#628128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628128
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628128#FFFFFF#000000##000000
##6281281.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781C
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#667B6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628128;
/* rgb */ color: rgb(98, 129, 40);
/* oklch */ color: oklch(56.1% 0.121 126.6);
Tailwind
colors: {
  custom: {
    50: '#91a567',
    500: '#628128',
    950: '#000000',
  },
}
SCSS
$custom: #628128;
$custom-light: #91a567;
$custom-dark: #000000;
JSON
{
  "hex": "#628128",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 80.899,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56069,
    "c": 0.12124,
    "h": 126.6
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#628128
secondary
#7454B0
accent
#4CDC7E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628128

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

Preview Lab → · Contrast checker → · Palette generator →

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