#628B30#628B30

#628B30 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.7% C 0.129 H 130.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#628B30
RGBrgb(98, 139, 48)
HSLhsl(87, 49%, 37%)
HSVhsv(87, 65%, 55%)
CMYKcmyk(29.5%, 0%, 65.5%, 45.5%)
CIE-LABlab(53.25, -29.47, 42.77)
CIE-LCHlch(53.25, 51.95, 124.57°)
OKLaboklab(58.7% -0.0831 0.0983)
OKLCHoklch(58.7% 0.129 130.2)
XYZxyz(14.8030, 21.2749, 6.1223)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B30 #59308B
analogous
#8B8730 #628B30 #358B30
triadic
#628B30 #30628B #8B3062
tetradic
#628B30 #308B87 #59308B #8B3035
square
#628B30 #308B87 #59308B #8B3035
split-complementary
#628B30 #30358B #87308B
monochromatic
#223011 #425E20 #628B30 #82B840 #A0CC6A

Accessibility & contrast

On white

4.00
#628B30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#628B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B30
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B30#FFFFFF#000000##000000
##628B301.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918125
Deuteranopia (green-blind)
#8C7E37
Tritanopia (blue-blind)
#648578
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b30;
/* rgb */ color: rgb(98, 139, 48);
/* oklch */ color: oklch(58.7% 0.129 130.2);
Tailwind
colors: {
  custom: {
    50: '#92ad6d',
    500: '#628b30',
    950: '#000000',
  },
}
SCSS
$custom: #628b30;
$custom-light: #92ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#628b30",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 48
  },
  "hsl": {
    "h": 87.033,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58695,
    "c": 0.1287,
    "h": 130.2
  },
  "luminance": 0.21275
}

Semantic roles & 50–950 ramp

primary
#628B30
secondary
#8864B3
accent
#50D88D
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628B30

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

Preview Lab → · Contrast checker → · Palette generator →

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