#628F26#628F26

#628F26 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.6% C 0.141 H 130.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#628F26
RGBrgb(98, 143, 38)
HSLhsl(86, 58%, 35%)
HSVhsv(86, 73%, 56%)
CMYKcmyk(31.5%, 0%, 73.4%, 43.9%)
CIE-LABlab(54.43, -32.12, 48.17)
CIE-LCHlch(54.43, 57.90, 123.70°)
OKLaboklab(59.63% -0.0912 0.1082)
OKLCHoklch(59.63% 0.141 130.1)
XYZxyz(15.2092, 22.3811, 5.3520)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F26 #53268F
analogous
#8F8726 #628F26 #2E8F26
triadic
#628F26 #26628F #8F2662
tetradic
#628F26 #268F87 #53268F #8F262E
square
#628F26 #268F87 #53268F #8F262E
split-complementary
#628F26 #262E8F #87268F
monochromatic
#202E0C #415F19 #628F26 #83BF33 #A0D45C

Accessibility & contrast

On white

3.83
#628F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#628F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F26
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F26#FFFFFF#000000##000000
##628F261.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968413
Deuteranopia (green-blind)
#908130
Tritanopia (blue-blind)
#65897B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f26;
/* rgb */ color: rgb(98, 143, 38);
/* oklch */ color: oklch(59.6% 0.141 130.1);
Tailwind
colors: {
  custom: {
    50: '#92b068',
    500: '#628f26',
    950: '#000000',
  },
}
SCSS
$custom: #628f26;
$custom-light: #92b068;
$custom-dark: #000000;
JSON
{
  "hex": "#628f26",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 85.714,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59629,
    "c": 0.14149,
    "h": 130.1
  },
  "luminance": 0.22382
}

Semantic roles & 50–950 ramp

primary
#628F26
secondary
#8258B9
accent
#47E189
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F26

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

Preview Lab → · Contrast checker → · Palette generator →

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