#628F27#628F27

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

Color values

HEX#628F27
RGBrgb(98, 143, 39)
HSLhsl(86, 57%, 36%)
HSVhsv(86, 73%, 56%)
CMYKcmyk(31.5%, 0%, 72.7%, 43.9%)
CIE-LABlab(54.44, -32.05, 47.79)
CIE-LCHlch(54.44, 57.54, 123.85°)
OKLaboklab(59.64% -0.0909 0.1075)
OKLCHoklch(59.64% 0.141 130.2)
XYZxyz(15.2256, 22.3876, 5.4381)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F27 #54278F
analogous
#8F8827 #628F27 #2E8F27
triadic
#628F27 #27628F #8F2762
tetradic
#628F27 #278F88 #54278F #8F272E
square
#628F27 #278F88 #54278F #8F272E
split-complementary
#628F27 #272E8F #88278F
monochromatic
#202F0D #415F1A #628F27 #83BF34 #A0D35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628F27#FFFFFF#000000##000000
##628F271.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)
#968415
Deuteranopia (green-blind)
#8F8130
Tritanopia (blue-blind)
#64897B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f27;
/* rgb */ color: rgb(98, 143, 39);
/* oklch */ color: oklch(59.6% 0.141 130.2);
Tailwind
colors: {
  custom: {
    50: '#92b068',
    500: '#628f27',
    950: '#000000',
  },
}
SCSS
$custom: #628f27;
$custom-light: #92b068;
$custom-dark: #000000;
JSON
{
  "hex": "#628f27",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 85.962,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59637,
    "c": 0.14082,
    "h": 130.2
  },
  "luminance": 0.22388
}

Semantic roles & 50–950 ramp

primary
#628F27
secondary
#835AB8
accent
#47E08A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F27

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

Preview Lab → · Contrast checker → · Palette generator →

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