#628B26#628B26

#628B26 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.6% C 0.136 H 129.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#628B26
RGBrgb(98, 139, 38)
HSLhsl(84, 57%, 35%)
HSVhsv(84, 73%, 55%)
CMYKcmyk(29.5%, 0%, 72.7%, 45.5%)
CIE-LABlab(53.17, -30.25, 46.90)
CIE-LCHlch(53.17, 55.81, 122.82°)
OKLaboklab(58.61% -0.0861 0.1055)
OKLCHoklch(58.61% 0.136 129.2)
XYZxyz(14.6194, 21.2015, 5.1554)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B26 #4F268B
analogous
#8B8126 #628B26 #308B26
triadic
#628B26 #26628B #8B2662
tetradic
#628B26 #268B81 #4F268B #8B2630
square
#628B26 #268B81 #4F268B #8B2630
split-complementary
#628B26 #26308B #81268B
monochromatic
#1E2B0C #405B19 #628B26 #84BB33 #A1D25A

Accessibility & contrast

On white

4.01
#628B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#628B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B26
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B26#FFFFFF#000000##000000
##628B261.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928115
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#658577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b26;
/* rgb */ color: rgb(98, 139, 38);
/* oklch */ color: oklch(58.6% 0.136 129.2);
Tailwind
colors: {
  custom: {
    50: '#92ad67',
    500: '#628b26',
    950: '#000000',
  },
}
SCSS
$custom: #628b26;
$custom-light: #92ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#628b26",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 84.356,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58605,
    "c": 0.13618,
    "h": 129.2
  },
  "luminance": 0.21202
}

Semantic roles & 50–950 ramp

primary
#628B26
secondary
#7D56B7
accent
#47E086
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628B26

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

Preview Lab → · Contrast checker → · Palette generator →

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