#628423#628423

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

Color values

HEX#628423
RGBrgb(98, 132, 35)
HSLhsl(81, 58%, 33%)
HSVhsv(81, 73%, 52%)
CMYKcmyk(25.8%, 0%, 73.5%, 48.2%)
CIE-LABlab(50.94, -27.09, 45.85)
CIE-LCHlch(50.94, 53.25, 120.57°)
OKLaboklab(56.79% -0.0777 0.1028)
OKLCHoklch(56.79% 0.129 127.1)
XYZxyz(13.5917, 19.2203, 4.5836)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628423 #452384
analogous
#847523 #628423 #318423
triadic
#628423 #236284 #842362
tetradic
#628423 #238475 #452384 #842331
square
#628423 #238475 #452384 #842331
split-complementary
#628423 #233184 #752384
monochromatic
#1A2309 #3E5416 #628423 #86B430 #A4D151

Accessibility & contrast

On white

4.34
#628423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#628423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628423
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628423#FFFFFF#000000##000000
##6284231.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #628423;
/* rgb */ color: rgb(98, 132, 35);
/* oklch */ color: oklch(56.8% 0.129 127.1);
Tailwind
colors: {
  custom: {
    50: '#92a865',
    500: '#628423',
    950: '#000000',
  },
}
SCSS
$custom: #628423;
$custom-light: #92a865;
$custom-dark: #000000;
JSON
{
  "hex": "#628423",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 35
  },
  "hsl": {
    "h": 81.031,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56791,
    "c": 0.12889,
    "h": 127.1
  },
  "luminance": 0.19221
}

Semantic roles & 50–950 ramp

primary
#628423
secondary
#724EB4
accent
#46E17D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628423

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

Preview Lab → · Contrast checker → · Palette generator →

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