#628A30#628A30

#628A30 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.4% C 0.127 H 130.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#628A30
RGBrgb(98, 138, 48)
HSLhsl(87, 48%, 36%)
HSVhsv(87, 65%, 54%)
CMYKcmyk(29%, 0%, 65.2%, 45.9%)
CIE-LABlab(52.93, -29.00, 42.43)
CIE-LCHlch(52.93, 51.39, 124.35°)
OKLaboklab(58.44% -0.0818 0.0976)
OKLCHoklch(58.44% 0.127 130)
XYZxyz(14.6589, 20.9866, 6.0742)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A30 #58308A
analogous
#8A8530 #628A30 #358A30
triadic
#628A30 #30628A #8A3062
tetradic
#628A30 #308A85 #58308A #8A3035
square
#628A30 #308A85 #58308A #8A3035
split-complementary
#628A30 #30358A #85308A
monochromatic
#222F10 #425D20 #628A30 #82B740 #A0CB69

Accessibility & contrast

On white

4.04
#628A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#628A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A30
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A30#FFFFFF#000000##000000
##628A301.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#8B7D37
Tritanopia (blue-blind)
#648477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a30;
/* rgb */ color: rgb(98, 138, 48);
/* oklch */ color: oklch(58.4% 0.127 130.0);
Tailwind
colors: {
  custom: {
    50: '#92ac6d',
    500: '#628a30',
    950: '#000000',
  },
}
SCSS
$custom: #628a30;
$custom-light: #92ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#628a30",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 86.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.1273,
    "h": 130
  },
  "luminance": 0.20987
}

Semantic roles & 50–950 ramp

primary
#628A30
secondary
#8764B2
accent
#50D88C
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628A30

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

Preview Lab → · Contrast checker → · Palette generator →

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