#628A29#628A29

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

Color values

HEX#628A29
RGBrgb(98, 138, 41)
HSLhsl(85, 54%, 35%)
HSVhsv(85, 70%, 54%)
CMYKcmyk(29%, 0%, 70.3%, 45.9%)
CIE-LABlab(52.88, -29.56, 45.40)
CIE-LCHlch(52.88, 54.17, 123.07°)
OKLaboklab(58.37% -0.0839 0.1028)
OKLCHoklch(58.37% 0.133 129.2)
XYZxyz(14.5257, 20.9333, 5.3726)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A29 #51298A
analogous
#8A8129 #628A29 #328A29
triadic
#628A29 #29628A #8A2962
tetradic
#628A29 #298A81 #51298A #8A2932
square
#628A29 #298A81 #51298A #8A2932
split-complementary
#628A29 #29328A #81298A
monochromatic
#1F2C0D #405B1B #628A29 #84B937 #A1CF5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628A29#FFFFFF#000000##000000
##628A291.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)
#91801A
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#658477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a29;
/* rgb */ color: rgb(98, 138, 41);
/* oklch */ color: oklch(58.4% 0.133 129.2);
Tailwind
colors: {
  custom: {
    50: '#92ac69',
    500: '#628a29',
    950: '#000000',
  },
}
SCSS
$custom: #628a29;
$custom-light: #92ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#628a29",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 84.742,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58374,
    "c": 0.13274,
    "h": 129.2
  },
  "luminance": 0.20934
}

Semantic roles & 50–950 ramp

primary
#628A29
secondary
#7F5AB5
accent
#4ADE87
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628A29

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

Preview Lab → · Contrast checker → · Palette generator →

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