#628E26#628E26

#628E26 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.140 H 129.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#628E26
RGBrgb(98, 142, 38)
HSLhsl(85, 58%, 35%)
HSVhsv(85, 73%, 56%)
CMYKcmyk(31%, 0%, 73.2%, 44.3%)
CIE-LABlab(54.11, -31.66, 47.85)
CIE-LCHlch(54.11, 57.38, 123.49°)
OKLaboklab(59.37% -0.0899 0.1075)
OKLCHoklch(59.37% 0.14 129.9)
XYZxyz(15.0598, 22.0822, 5.3022)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E26 #52268E
analogous
#8E8626 #628E26 #2E8E26
triadic
#628E26 #26628E #8E2662
tetradic
#628E26 #268E86 #52268E #8E262E
square
#628E26 #268E86 #52268E #8E262E
split-complementary
#628E26 #262E8E #86268E
monochromatic
#1F2D0C #415E19 #628E26 #83BE33 #A0D35B

Accessibility & contrast

On white

3.88
#628E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#628E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E26
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E26#FFFFFF#000000##000000
##628E261.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958314
Deuteranopia (green-blind)
#8F802F
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e26;
/* rgb */ color: rgb(98, 142, 38);
/* oklch */ color: oklch(59.4% 0.140 129.9);
Tailwind
colors: {
  custom: {
    50: '#92af67',
    500: '#628e26',
    950: '#000000',
  },
}
SCSS
$custom: #628e26;
$custom-light: #92af67;
$custom-dark: #000000;
JSON
{
  "hex": "#628e26",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 85.385,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59373,
    "c": 0.14016,
    "h": 129.9
  },
  "luminance": 0.22083
}

Semantic roles & 50–950 ramp

primary
#628E26
secondary
#8058B8
accent
#47E188
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628E26

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

Preview Lab → · Contrast checker → · Palette generator →

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