#628B24#628B24

#628B24 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#628B24
RGBrgb(98, 139, 36)
HSLhsl(84, 59%, 34%)
HSVhsv(84, 74%, 55%)
CMYKcmyk(29.5%, 0%, 74.1%, 45.5%)
CIE-LABlab(53.16, -30.38, 47.66)
CIE-LCHlch(53.16, 56.52, 122.51°)
OKLaboklab(58.59% -0.0866 0.1068)
OKLCHoklch(58.59% 0.138 129)
XYZxyz(14.5880, 21.1889, 4.9900)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B24 #4D248B
analogous
#8B8124 #628B24 #2F8B24
triadic
#628B24 #24628B #8B2462
tetradic
#628B24 #248B81 #4D248B #8B242F
square
#628B24 #248B81 #4D248B #8B242F
split-complementary
#628B24 #242F8B #81248B
monochromatic
#1D2A0B #405A17 #628B24 #84BC31 #A1D356

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628B24#FFFFFF#000000##000000
##628B241.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)
#928111
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#658577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b24;
/* rgb */ color: rgb(98, 139, 36);
/* oklch */ color: oklch(58.6% 0.138 129.0);
Tailwind
colors: {
  custom: {
    50: '#92ad66',
    500: '#628b24',
    950: '#000000',
  },
}
SCSS
$custom: #628b24;
$custom-light: #92ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#628b24",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 83.883,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58589,
    "c": 0.13751,
    "h": 129
  },
  "luminance": 0.21189
}

Semantic roles & 50–950 ramp

primary
#628B24
secondary
#7B53B7
accent
#46E284
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628B24

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

Preview Lab → · Contrast checker → · Palette generator →

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