#628F30#628F30

#628F30 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.7% C 0.134 H 131.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#628F30
RGBrgb(98, 143, 48)
HSLhsl(88, 50%, 37%)
HSVhsv(88, 66%, 56%)
CMYKcmyk(31.5%, 0%, 66.4%, 43.9%)
CIE-LABlab(54.51, -31.37, 44.13)
CIE-LCHlch(54.51, 54.14, 125.40°)
OKLaboklab(59.72% -0.0883 0.1012)
OKLCHoklch(59.72% 0.134 131.1)
XYZxyz(15.3928, 22.4545, 6.3189)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F30 #5D308F
analogous
#8F8C30 #628F30 #338F30
triadic
#628F30 #30628F #8F3062
tetradic
#628F30 #308F8C #5D308F #8F3033
square
#628F30 #308F8C #5D308F #8F3033
split-complementary
#628F30 #30338F #8C308F
monochromatic
#233311 #436121 #628F30 #81BD3F #9FCE6C

Accessibility & contrast

On white

3.82
#628F30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#628F30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F30
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F30#FFFFFF#000000##000000
##628F301.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958524
Deuteranopia (green-blind)
#8F8138
Tritanopia (blue-blind)
#64897B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f30;
/* rgb */ color: rgb(98, 143, 48);
/* oklch */ color: oklch(59.7% 0.134 131.1);
Tailwind
colors: {
  custom: {
    50: '#92b06d',
    500: '#628f30',
    950: '#000000',
  },
}
SCSS
$custom: #628f30;
$custom-light: #92b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#628f30",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 48
  },
  "hsl": {
    "h": 88.421,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.13425,
    "h": 131.1
  },
  "luminance": 0.22455
}

Semantic roles & 50–950 ramp

primary
#628F30
secondary
#8B66B5
accent
#4FD990
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628F30

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

Preview Lab → · Contrast checker → · Palette generator →

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