#628623#628623

#628623 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.3% C 0.132 H 127.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#628623
RGBrgb(98, 134, 35)
HSLhsl(82, 59%, 33%)
HSVhsv(82, 74%, 53%)
CMYKcmyk(26.9%, 0%, 73.9%, 47.5%)
CIE-LABlab(51.57, -28.06, 46.47)
CIE-LCHlch(51.57, 54.29, 121.12°)
OKLaboklab(57.3% -0.0804 0.1042)
OKLCHoklch(57.3% 0.132 127.7)
XYZxyz(13.8655, 19.7679, 4.6749)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628623 #472386
analogous
#867823 #628623 #308623
triadic
#628623 #236286 #862362
tetradic
#628623 #238678 #472386 #862330
square
#628623 #238678 #472386 #862330
split-complementary
#628623 #233086 #782386
monochromatic
#1B250A #3F5516 #628623 #85B730 #A3D252

Accessibility & contrast

On white

4.24
#628623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#628623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628623
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628623#FFFFFF#000000##000000
##6286231.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C11
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#668073
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #628623;
/* rgb */ color: rgb(98, 134, 35);
/* oklch */ color: oklch(57.3% 0.132 127.7);
Tailwind
colors: {
  custom: {
    50: '#92a965',
    500: '#628623',
    950: '#000000',
  },
}
SCSS
$custom: #628623;
$custom-light: #92a965;
$custom-dark: #000000;
JSON
{
  "hex": "#628623",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 81.818,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57302,
    "c": 0.13156,
    "h": 127.7
  },
  "luminance": 0.19768
}

Semantic roles & 50–950 ramp

primary
#628623
secondary
#744FB5
accent
#46E27F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628623

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

Preview Lab → · Contrast checker → · Palette generator →

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