#628426#628426

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

Color values

HEX#628426
RGBrgb(98, 132, 38)
HSLhsl(82, 55%, 33%)
HSVhsv(82, 71%, 52%)
CMYKcmyk(25.8%, 0%, 71.2%, 48.2%)
CIE-LABlab(50.97, -26.88, 44.67)
CIE-LCHlch(50.97, 52.13, 121.04°)
OKLaboklab(56.82% -0.0769 0.1008)
OKLCHoklch(56.82% 0.127 127.3)
XYZxyz(13.6381, 19.2389, 4.8283)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628426 #482684
analogous
#847726 #628426 #338426
triadic
#628426 #266284 #842662
tetradic
#628426 #268477 #482684 #842633
square
#628426 #268477 #482684 #842633
split-complementary
#628426 #263384 #772684
monochromatic
#1B250B #3F5418 #628426 #85B434 #A3CE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628426#FFFFFF#000000##000000
##6284261.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)
#8B7B17
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#667E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628426;
/* rgb */ color: rgb(98, 132, 38);
/* oklch */ color: oklch(56.8% 0.127 127.3);
Tailwind
colors: {
  custom: {
    50: '#92a866',
    500: '#628426',
    950: '#000000',
  },
}
SCSS
$custom: #628426;
$custom-light: #92a866;
$custom-dark: #000000;
JSON
{
  "hex": "#628426",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 38
  },
  "hsl": {
    "h": 81.702,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56815,
    "c": 0.1268,
    "h": 127.3
  },
  "luminance": 0.19239
}

Semantic roles & 50–950 ramp

primary
#628426
secondary
#7653B3
accent
#49DF7F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628426

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

Preview Lab → · Contrast checker → · Palette generator →

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