#628F25#628F25

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

Color values

HEX#628F25
RGBrgb(98, 143, 37)
HSLhsl(85, 59%, 35%)
HSVhsv(85, 74%, 56%)
CMYKcmyk(31.5%, 0%, 74.1%, 43.9%)
CIE-LABlab(54.42, -32.19, 48.54)
CIE-LCHlch(54.42, 58.24, 123.55°)
OKLaboklab(59.62% -0.0914 0.1088)
OKLCHoklch(59.62% 0.142 130)
XYZxyz(15.1933, 22.3747, 5.2682)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F25 #52258F
analogous
#8F8725 #628F25 #2D8F25
triadic
#628F25 #25628F #8F2562
tetradic
#628F25 #258F87 #52258F #8F252D
square
#628F25 #258F87 #52258F #8F252D
split-complementary
#628F25 #252D8F #87258F
monochromatic
#1F2E0C #415E18 #628F25 #83C032 #A0D45A

Accessibility & contrast

On white

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

On black

5.48
#628F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F25
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F25#FFFFFF#000000##000000
##628F251.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #628f25;
/* rgb */ color: rgb(98, 143, 37);
/* oklch */ color: oklch(59.6% 0.142 130.0);
Tailwind
colors: {
  custom: {
    50: '#92b067',
    500: '#628f25',
    950: '#000000',
  },
}
SCSS
$custom: #628f25;
$custom-light: #92b067;
$custom-dark: #000000;
JSON
{
  "hex": "#628f25",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 85.472,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59622,
    "c": 0.14213,
    "h": 130
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

primary
#628F25
secondary
#8057B9
accent
#46E288
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F25

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

Preview Lab → · Contrast checker → · Palette generator →

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