#628E23#628E23

#628E23 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.142 H 129.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#628E23
RGBrgb(98, 142, 35)
HSLhsl(85, 60%, 35%)
HSVhsv(85, 75%, 56%)
CMYKcmyk(31%, 0%, 75.4%, 44.3%)
CIE-LABlab(54.09, -31.85, 48.96)
CIE-LCHlch(54.09, 58.41, 123.05°)
OKLaboklab(59.35% -0.0907 0.1094)
OKLCHoklch(59.35% 0.142 129.7)
XYZxyz(15.0133, 22.0636, 5.0575)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E23 #4F238E
analogous
#8E8523 #628E23 #2C8E23
triadic
#628E23 #23628E #8E2362
tetradic
#628E23 #238E85 #4F238E #8E232C
square
#628E23 #238E85 #4F238E #8E232C
split-complementary
#628E23 #232C8E #85238E
monochromatic
#1E2C0B #405D17 #628E23 #84BF2F #A1D556

Accessibility & contrast

On white

3.88
#628E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#628E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E23
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E23#FFFFFF#000000##000000
##628E231.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#658879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e23;
/* rgb */ color: rgb(98, 142, 35);
/* oklch */ color: oklch(59.4% 0.142 129.7);
Tailwind
colors: {
  custom: {
    50: '#92af66',
    500: '#628e23',
    950: '#000000',
  },
}
SCSS
$custom: #628e23;
$custom-light: #92af66;
$custom-dark: #000000;
JSON
{
  "hex": "#628e23",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 84.673,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59351,
    "c": 0.14208,
    "h": 129.7
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

primary
#628E23
secondary
#7D53B9
accent
#44E486
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628E23

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

Preview Lab → · Contrast checker → · Palette generator →

#628E23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva