#628124#628124

#628124 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.124 H 126.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#628124
RGBrgb(98, 129, 36)
HSLhsl(80, 56%, 32%)
HSVhsv(80, 72%, 51%)
CMYKcmyk(24%, 0%, 72.1%, 49.4%)
CIE-LABlab(50.01, -25.54, 44.51)
CIE-LCHlch(50.01, 51.32, 119.85°)
OKLaboklab(56.03% -0.0734 0.1002)
OKLCHoklch(56.03% 0.124 126.2)
XYZxyz(13.2058, 18.4244, 4.5292)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628124 #432481
analogous
#817224 #628124 #338124
triadic
#628124 #246281 #812462
tetradic
#628124 #248172 #432481 #812433
square
#628124 #248172 #432481 #812433
split-complementary
#628124 #243381 #722481
monochromatic
#192109 #3E5117 #628124 #86B131 #A5CE51

Accessibility & contrast

On white

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

On black

4.68
#628124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628124
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628124#FFFFFF#000000##000000
##6281241.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887815
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#667B6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628124;
/* rgb */ color: rgb(98, 129, 36);
/* oklch */ color: oklch(56.0% 0.124 126.2);
Tailwind
colors: {
  custom: {
    50: '#92a565',
    500: '#628124',
    950: '#000000',
  },
}
SCSS
$custom: #628124;
$custom-light: #92a565;
$custom-dark: #000000;
JSON
{
  "hex": "#628124",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 80,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56034,
    "c": 0.12419,
    "h": 126.2
  },
  "luminance": 0.18425
}

Semantic roles & 50–950 ramp

primary
#628124
secondary
#704EB2
accent
#48E07B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628124

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

Preview Lab → · Contrast checker → · Palette generator →

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