#628823#628823

#628823 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.8% C 0.134 H 128.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#628823
RGBrgb(98, 136, 35)
HSLhsl(83, 59%, 34%)
HSVhsv(83, 74%, 53%)
CMYKcmyk(27.9%, 0%, 74.3%, 46.7%)
CIE-LABlab(52.20, -29.02, 47.10)
CIE-LCHlch(52.20, 55.32, 121.64°)
OKLaboklab(57.81% -0.083 0.1055)
OKLCHoklch(57.81% 0.134 128.2)
XYZxyz(14.1445, 20.3260, 4.7679)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628823 #492388
analogous
#887B23 #628823 #308823
triadic
#628823 #236288 #882362
tetradic
#628823 #23887B #492388 #882330
square
#628823 #23887B #492388 #882330
split-complementary
#628823 #233088 #7B2388
monochromatic
#1C270A #3F5716 #628823 #85B930 #A3D353

Accessibility & contrast

On white

4.15
#628823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#628823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628823
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628823#FFFFFF#000000##000000
##6288231.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#658274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #628823;
/* rgb */ color: rgb(98, 136, 35);
/* oklch */ color: oklch(57.8% 0.134 128.2);
Tailwind
colors: {
  custom: {
    50: '#92ab65',
    500: '#628823',
    950: '#000000',
  },
}
SCSS
$custom: #628823;
$custom-light: #92ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#628823",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 82.574,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.1342,
    "h": 128.2
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

primary
#628823
secondary
#7750B7
accent
#46E281
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628823

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

Preview Lab → · Contrast checker → · Palette generator →

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