#628B23#628B23

#628B23 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.6% C 0.138 H 129.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#628B23
RGBrgb(98, 139, 35)
HSLhsl(84, 60%, 34%)
HSVhsv(84, 75%, 55%)
CMYKcmyk(29.5%, 0%, 74.8%, 45.5%)
CIE-LABlab(53.15, -30.44, 48.03)
CIE-LCHlch(53.15, 56.87, 122.37°)
OKLaboklab(58.58% -0.0869 0.1074)
OKLCHoklch(58.58% 0.138 129)
XYZxyz(14.5730, 21.1829, 4.9107)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B23 #4C238B
analogous
#8B8023 #628B23 #2E8B23
triadic
#628B23 #23628B #8B2362
tetradic
#628B23 #238B80 #4C238B #8B232E
square
#628B23 #238B80 #4C238B #8B232E
split-complementary
#628B23 #232E8B #80238B
monochromatic
#1D290A #405A17 #628B23 #84BC2F #A2D454

Accessibility & contrast

On white

4.01
#628B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#628B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B23
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B23#FFFFFF#000000##000000
##628B231.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810F
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#658577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b23;
/* rgb */ color: rgb(98, 139, 35);
/* oklch */ color: oklch(58.6% 0.138 129.0);
Tailwind
colors: {
  custom: {
    50: '#92ad66',
    500: '#628b23',
    950: '#000000',
  },
}
SCSS
$custom: #628b23;
$custom-light: #92ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#628b23",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 83.654,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58582,
    "c": 0.13815,
    "h": 129
  },
  "luminance": 0.21183
}

Semantic roles & 50–950 ramp

primary
#628B23
secondary
#7A52B8
accent
#45E383
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628B23

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

Preview Lab → · Contrast checker → · Palette generator →

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