#628427#628427

#628427 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.8% C 0.126 H 127.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#628427
RGBrgb(98, 132, 39)
HSLhsl(82, 54%, 34%)
HSVhsv(82, 70%, 52%)
CMYKcmyk(25.8%, 0%, 70.5%, 48.2%)
CIE-LABlab(50.97, -26.81, 44.26)
CIE-LCHlch(50.97, 51.75, 121.20°)
OKLaboklab(56.82% -0.0766 0.1002)
OKLCHoklch(56.82% 0.126 127.4)
XYZxyz(13.6545, 19.2454, 4.9144)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628427 #492784
analogous
#847727 #628427 #348427
triadic
#628427 #276284 #842762
tetradic
#628427 #278477 #492784 #842734
square
#628427 #278477 #492784 #842734
split-complementary
#628427 #273484 #772784
monochromatic
#1C260B #3F5519 #628427 #85B335 #A3CE58

Accessibility & contrast

On white

4.33
#628427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#628427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628427
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628427#FFFFFF#000000##000000
##6284271.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B19
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#667E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628427;
/* rgb */ color: rgb(98, 132, 39);
/* oklch */ color: oklch(56.8% 0.126 127.4);
Tailwind
colors: {
  custom: {
    50: '#92a867',
    500: '#628427',
    950: '#000000',
  },
}
SCSS
$custom: #628427;
$custom-light: #92a867;
$custom-dark: #000000;
JSON
{
  "hex": "#628427",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 81.935,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.12608,
    "h": 127.4
  },
  "luminance": 0.19246
}

Semantic roles & 50–950 ramp

primary
#628427
secondary
#7754B2
accent
#4ADE80
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628427

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

Preview Lab → · Contrast checker → · Palette generator →

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