#628F23#628F23

#628F23 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.6% C 0.143 H 129.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#628F23
RGBrgb(98, 143, 35)
HSLhsl(85, 61%, 35%)
HSVhsv(85, 76%, 56%)
CMYKcmyk(31.5%, 0%, 75.5%, 43.9%)
CIE-LABlab(54.41, -32.31, 49.27)
CIE-LCHlch(54.41, 58.92, 123.26°)
OKLaboklab(59.61% -0.092 0.11)
OKLCHoklch(59.61% 0.143 129.9)
XYZxyz(15.1628, 22.3625, 5.1073)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F23 #50238F
analogous
#8F8623 #628F23 #2C8F23
triadic
#628F23 #23628F #8F2362
tetradic
#628F23 #238F86 #50238F #8F232C
square
#628F23 #238F86 #50238F #8F232C
split-complementary
#628F23 #232C8F #86238F
monochromatic
#1F2D0B #405E17 #628F23 #84C02F #A1D657

Accessibility & contrast

On white

3.84
#628F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#628F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F23
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F23#FFFFFF#000000##000000
##628F231.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840D
Deuteranopia (green-blind)
#90812D
Tritanopia (blue-blind)
#65897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f23;
/* rgb */ color: rgb(98, 143, 35);
/* oklch */ color: oklch(59.6% 0.143 129.9);
Tailwind
colors: {
  custom: {
    50: '#93b066',
    500: '#628f23',
    950: '#000000',
  },
}
SCSS
$custom: #628f23;
$custom-light: #93b066;
$custom-dark: #000000;
JSON
{
  "hex": "#628f23",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 85,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59607,
    "c": 0.14338,
    "h": 129.9
  },
  "luminance": 0.22363
}

Semantic roles & 50–950 ramp

primary
#628F23
secondary
#7E54BA
accent
#44E487
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F23

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

Preview Lab → · Contrast checker → · Palette generator →

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