#628D26#628D26

#628D26 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.139 H 129.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#628D26
RGBrgb(98, 141, 38)
HSLhsl(85, 58%, 35%)
HSVhsv(85, 73%, 55%)
CMYKcmyk(30.5%, 0%, 73%, 44.7%)
CIE-LABlab(53.80, -31.19, 47.54)
CIE-LCHlch(53.80, 56.85, 123.27°)
OKLaboklab(59.12% -0.0887 0.1069)
OKLCHoklch(59.12% 0.139 129.7)
XYZxyz(14.9117, 21.7859, 5.2528)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D26 #51268D
analogous
#8D8526 #628D26 #2E8D26
triadic
#628D26 #26628D #8D2662
tetradic
#628D26 #268D85 #51268D #8D262E
square
#628D26 #268D85 #51268D #8D262E
split-complementary
#628D26 #262E8D #85268D
monochromatic
#1F2D0C #405D19 #628D26 #84BD33 #A1D35B

Accessibility & contrast

On white

3.92
#628D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#628D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D26
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D26#FFFFFF#000000##000000
##628D261.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948314
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#658779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d26;
/* rgb */ color: rgb(98, 141, 38);
/* oklch */ color: oklch(59.1% 0.139 129.7);
Tailwind
colors: {
  custom: {
    50: '#92ae67',
    500: '#628d26',
    950: '#000000',
  },
}
SCSS
$custom: #628d26;
$custom-light: #92ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#628d26",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 85.049,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59117,
    "c": 0.13884,
    "h": 129.7
  },
  "luminance": 0.21786
}

Semantic roles & 50–950 ramp

primary
#628D26
secondary
#7F57B8
accent
#47E187
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628D26

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

Preview Lab → · Contrast checker → · Palette generator →

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