#628A28#628A28

#628A28 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.4% C 0.133 H 129.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#628A28
RGBrgb(98, 138, 40)
HSLhsl(84, 55%, 35%)
HSVhsv(84, 71%, 54%)
CMYKcmyk(29%, 0%, 71%, 45.9%)
CIE-LABlab(52.87, -29.63, 45.80)
CIE-LCHlch(52.87, 54.55, 122.90°)
OKLaboklab(58.37% -0.0842 0.1035)
OKLCHoklch(58.37% 0.133 129.1)
XYZxyz(14.5084, 20.9265, 5.2819)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A28 #50288A
analogous
#8A8128 #628A28 #318A28
triadic
#628A28 #28628A #8A2862
tetradic
#628A28 #288A81 #50288A #8A2831
square
#628A28 #288A81 #50288A #8A2831
split-complementary
#628A28 #28318A #81288A
monochromatic
#1F2B0C #405B1A #628A28 #84B936 #A1D05D

Accessibility & contrast

On white

4.05
#628A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#628A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A28
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A28#FFFFFF#000000##000000
##628A281.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918019
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#658476
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a28;
/* rgb */ color: rgb(98, 138, 40);
/* oklch */ color: oklch(58.4% 0.133 129.1);
Tailwind
colors: {
  custom: {
    50: '#92ac68',
    500: '#628a28',
    950: '#000000',
  },
}
SCSS
$custom: #628a28;
$custom-light: #92ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#628a28",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 84.49,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.13346,
    "h": 129.1
  },
  "luminance": 0.20927
}

Semantic roles & 50–950 ramp

primary
#628A28
secondary
#7E59B5
accent
#49DE86
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628A28

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

Preview Lab → · Contrast checker → · Palette generator →

#628A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva