#628B25#628B25

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

Color values

HEX#628B25
RGBrgb(98, 139, 37)
HSLhsl(84, 58%, 35%)
HSVhsv(84, 73%, 55%)
CMYKcmyk(29.5%, 0%, 73.4%, 45.5%)
CIE-LABlab(53.16, -30.31, 47.29)
CIE-LCHlch(53.16, 56.17, 122.66°)
OKLaboklab(58.6% -0.0863 0.1062)
OKLCHoklch(58.6% 0.137 129.1)
XYZxyz(14.6035, 21.1951, 5.0716)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B25 #4E258B
analogous
#8B8125 #628B25 #2F8B25
triadic
#628B25 #25628B #8B2562
tetradic
#628B25 #258B81 #4E258B #8B252F
square
#628B25 #258B81 #4E258B #8B252F
split-complementary
#628B25 #252F8B #81258B
monochromatic
#1E2A0B #405B18 #628B25 #84BB32 #A1D358

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628B25#FFFFFF#000000##000000
##628B251.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)
#928113
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#658577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b25;
/* rgb */ color: rgb(98, 139, 37);
/* oklch */ color: oklch(58.6% 0.137 129.1);
Tailwind
colors: {
  custom: {
    50: '#92ad67',
    500: '#628b25',
    950: '#000000',
  },
}
SCSS
$custom: #628b25;
$custom-light: #92ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#628b25",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 84.118,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58597,
    "c": 0.13686,
    "h": 129.1
  },
  "luminance": 0.21195
}

Semantic roles & 50–950 ramp

primary
#628B25
secondary
#7C55B7
accent
#47E185
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628B25

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

Preview Lab → · Contrast checker → · Palette generator →

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