#628023#628023

#628023 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.8% C 0.124 H 125.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#628023
RGBrgb(98, 128, 35)
HSLhsl(79, 57%, 32%)
HSVhsv(79, 73%, 50%)
CMYKcmyk(23.4%, 0%, 72.7%, 49.8%)
CIE-LABlab(49.69, -25.12, 44.59)
CIE-LCHlch(49.69, 51.17, 119.39°)
OKLaboklab(55.77% -0.0723 0.1002)
OKLCHoklch(55.77% 0.124 125.8)
XYZxyz(13.0596, 18.1562, 4.4062)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628023 #412380
analogous
#807023 #628023 #348023
triadic
#628023 #236280 #802362
tetradic
#628023 #238070 #412380 #802334
square
#628023 #238070 #412380 #802334
split-complementary
#628023 #233480 #702380
monochromatic
#182009 #3D5016 #628023 #87B030 #A5CF4F

Accessibility & contrast

On white

4.53
#628023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#628023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628023
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628023#FFFFFF#000000##000000
##6280231.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877714
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#667A6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #628023;
/* rgb */ color: rgb(98, 128, 35);
/* oklch */ color: oklch(55.8% 0.124 125.8);
Tailwind
colors: {
  custom: {
    50: '#92a564',
    500: '#628023',
    950: '#000000',
  },
}
SCSS
$custom: #628023;
$custom-light: #92a564;
$custom-dark: #000000;
JSON
{
  "hex": "#628023",
  "rgb": {
    "r": 98,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 79.355,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55771,
    "c": 0.12357,
    "h": 125.8
  },
  "luminance": 0.18156
}

Semantic roles & 50–950 ramp

primary
#628023
secondary
#6D4DB2
accent
#47E079
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628023

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

Preview Lab → · Contrast checker → · Palette generator →

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