#628A23#628A23

#628A23 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.137 H 128.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#628A23
RGBrgb(98, 138, 35)
HSLhsl(83, 60%, 34%)
HSVhsv(83, 75%, 54%)
CMYKcmyk(29%, 0%, 74.6%, 45.9%)
CIE-LABlab(52.83, -29.97, 47.72)
CIE-LCHlch(52.83, 56.35, 122.13°)
OKLaboklab(58.33% -0.0856 0.1068)
OKLCHoklch(58.33% 0.137 128.7)
XYZxyz(14.4288, 20.8946, 4.8626)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A23 #4B238A
analogous
#8A7F23 #628A23 #2F8A23
triadic
#628A23 #23628A #8A2362
tetradic
#628A23 #238A7F #4B238A #8A232F
square
#628A23 #238A7F #4B238A #8A232F
split-complementary
#628A23 #232F8A #7F238A
monochromatic
#1D280A #3F5917 #628A23 #85BB2F #A2D454

Accessibility & contrast

On white

4.05
#628A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#628A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A23
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A23#FFFFFF#000000##000000
##628A231.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918010
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#658476
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a23;
/* rgb */ color: rgb(98, 138, 35);
/* oklch */ color: oklch(58.3% 0.137 128.7);
Tailwind
colors: {
  custom: {
    50: '#92ac65',
    500: '#628a23',
    950: '#000000',
  },
}
SCSS
$custom: #628a23;
$custom-light: #92ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#628a23",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 83.301,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58326,
    "c": 0.13683,
    "h": 128.7
  },
  "luminance": 0.20895
}

Semantic roles & 50–950 ramp

primary
#628A23
secondary
#7951B7
accent
#45E382
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628A23

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

Preview Lab → · Contrast checker → · Palette generator →

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