#628129#628129

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

Color values

HEX#628129
RGBrgb(98, 129, 41)
HSLhsl(81, 52%, 33%)
HSVhsv(81, 68%, 51%)
CMYKcmyk(24%, 0%, 68.2%, 49.4%)
CIE-LABlab(50.05, -25.18, 42.44)
CIE-LCHlch(50.05, 49.35, 120.68°)
OKLaboklab(56.08% -0.0719 0.0966)
OKLCHoklch(56.08% 0.12 126.7)
XYZxyz(13.2875, 18.4571, 4.9599)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628129 #482981
analogous
#817429 #628129 #368129
triadic
#628129 #296281 #812962
tetradic
#628129 #298174 #482981 #812936
square
#628129 #298174 #482981 #812936
split-complementary
#628129 #293681 #742981
monochromatic
#1B240B #3F531A #628129 #85AF38 #A3CB5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628129#FFFFFF#000000##000000
##6281291.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)
#88781D
Deuteranopia (green-blind)
#837730
Tritanopia (blue-blind)
#667B6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628129;
/* rgb */ color: rgb(98, 129, 41);
/* oklch */ color: oklch(56.1% 0.120 126.7);
Tailwind
colors: {
  custom: {
    50: '#91a568',
    500: '#628129',
    950: '#000000',
  },
}
SCSS
$custom: #628129;
$custom-light: #91a568;
$custom-dark: #000000;
JSON
{
  "hex": "#628129",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 81.136,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.12046,
    "h": 126.7
  },
  "luminance": 0.18457
}

Semantic roles & 50–950 ramp

primary
#628129
secondary
#7656B0
accent
#4DDB7F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628129

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

Preview Lab → · Contrast checker → · Palette generator →

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