#628F24#628F24

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

Color values

HEX#628F24
RGBrgb(98, 143, 36)
HSLhsl(85, 60%, 35%)
HSVhsv(85, 75%, 56%)
CMYKcmyk(31.5%, 0%, 74.8%, 43.9%)
CIE-LABlab(54.42, -32.25, 48.91)
CIE-LCHlch(54.42, 58.58, 123.40°)
OKLaboklab(59.61% -0.0917 0.1094)
OKLCHoklch(59.61% 0.143 130)
XYZxyz(15.1778, 22.3685, 5.1866)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F24 #51248F
analogous
#8F8724 #628F24 #2C8F24
triadic
#628F24 #24628F #8F2462
tetradic
#628F24 #248F87 #51248F #8F242C
square
#628F24 #248F87 #51248F #8F242C
split-complementary
#628F24 #242C8F #87248F
monochromatic
#1F2D0B #405E18 #628F24 #84C030 #A1D558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628F24#FFFFFF#000000##000000
##628F241.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)
#96840F
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#65897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f24;
/* rgb */ color: rgb(98, 143, 36);
/* oklch */ color: oklch(59.6% 0.143 130.0);
Tailwind
colors: {
  custom: {
    50: '#93b067',
    500: '#628f24',
    950: '#000000',
  },
}
SCSS
$custom: #628f24;
$custom-light: #93b067;
$custom-dark: #000000;
JSON
{
  "hex": "#628f24",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 85.234,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59615,
    "c": 0.14277,
    "h": 130
  },
  "luminance": 0.22369
}

Semantic roles & 50–950 ramp

primary
#628F24
secondary
#7F55B9
accent
#45E387
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F24

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

Preview Lab → · Contrast checker → · Palette generator →

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