#628B27#628B27

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

Color values

HEX#628B27
RGBrgb(98, 139, 39)
HSLhsl(85, 56%, 35%)
HSVhsv(85, 72%, 55%)
CMYKcmyk(29.5%, 0%, 71.9%, 45.5%)
CIE-LABlab(53.18, -30.18, 46.51)
CIE-LCHlch(53.18, 55.45, 122.97°)
OKLaboklab(58.61% -0.0858 0.1049)
OKLCHoklch(58.61% 0.136 129.3)
XYZxyz(14.6358, 21.2080, 5.2415)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B27 #50278B
analogous
#8B8227 #628B27 #308B27
triadic
#628B27 #27628B #8B2762
tetradic
#628B27 #278B82 #50278B #8B2730
square
#628B27 #278B82 #50278B #8B2730
split-complementary
#628B27 #27308B #82278B
monochromatic
#1F2B0C #405B1A #628B27 #84BB34 #A1D15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628B27#FFFFFF#000000##000000
##628B271.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)
#928117
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#658577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b27;
/* rgb */ color: rgb(98, 139, 39);
/* oklch */ color: oklch(58.6% 0.136 129.3);
Tailwind
colors: {
  custom: {
    50: '#92ad68',
    500: '#628b27',
    950: '#000000',
  },
}
SCSS
$custom: #628b27;
$custom-light: #92ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#628b27",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 84.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58613,
    "c": 0.1355,
    "h": 129.3
  },
  "luminance": 0.21208
}

Semantic roles & 50–950 ramp

primary
#628B27
secondary
#7E58B6
accent
#48DF86
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628B27

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

Preview Lab → · Contrast checker → · Palette generator →

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