#628127#628127

#628127 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.1% C 0.122 H 126.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#628127
RGBrgb(98, 129, 39)
HSLhsl(81, 54%, 33%)
HSVhsv(81, 70%, 51%)
CMYKcmyk(24%, 0%, 69.8%, 49.4%)
CIE-LABlab(50.03, -25.33, 43.29)
CIE-LCHlch(50.03, 50.15, 120.34°)
OKLaboklab(56.06% -0.0725 0.0981)
OKLCHoklch(56.06% 0.122 126.5)
XYZxyz(13.2535, 18.4435, 4.7807)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628127 #462781
analogous
#817327 #628127 #358127
triadic
#628127 #276281 #812762
tetradic
#628127 #278173 #462781 #812735
square
#628127 #278173 #462781 #812735
split-complementary
#628127 #273581 #732781
monochromatic
#1B230B #3E5219 #628127 #86B035 #A3CC56

Accessibility & contrast

On white

4.48
#628127 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#628127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628127
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628127#FFFFFF#000000##000000
##6281271.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781A
Deuteranopia (green-blind)
#84762E
Tritanopia (blue-blind)
#667B6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628127;
/* rgb */ color: rgb(98, 129, 39);
/* oklch */ color: oklch(56.1% 0.122 126.5);
Tailwind
colors: {
  custom: {
    50: '#91a566',
    500: '#628127',
    950: '#000000',
  },
}
SCSS
$custom: #628127;
$custom-light: #91a566;
$custom-dark: #000000;
JSON
{
  "hex": "#628127",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 80.667,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5606,
    "c": 0.122,
    "h": 126.5
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#628127
secondary
#7353B1
accent
#4BDD7D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628127

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

Preview Lab → · Contrast checker → · Palette generator →

#628127 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva