#628834#628834

#628834 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.0% C 0.121 H 130.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#628834
RGBrgb(98, 136, 52)
HSLhsl(87, 45%, 37%)
HSVhsv(87, 62%, 53%)
CMYKcmyk(27.9%, 0%, 61.8%, 46.7%)
CIE-LABlab(52.35, -27.67, 39.94)
CIE-LCHlch(52.35, 48.58, 124.71°)
OKLaboklab(57.97% -0.0777 0.0928)
OKLCHoklch(57.97% 0.121 130)
XYZxyz(14.4609, 20.4526, 6.4340)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628834 #5A3488
analogous
#888434 #628834 #388834
triadic
#628834 #346288 #883462
tetradic
#628834 #348884 #5A3488 #883438
square
#628834 #348884 #5A3488 #883438
split-complementary
#628834 #343888 #843488
monochromatic
#222F12 #425C23 #628834 #82B445 #9FC86F

Accessibility & contrast

On white

4.13
#628834 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#628834 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628834
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628834#FFFFFF#000000##000000
##6288341.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2B
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#648276
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #628834;
/* rgb */ color: rgb(98, 136, 52);
/* oklch */ color: oklch(58.0% 0.121 130.0);
Tailwind
colors: {
  custom: {
    50: '#91ab6f',
    500: '#628834',
    950: '#000000',
  },
}
SCSS
$custom: #628834;
$custom-light: #91ab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#628834",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 52
  },
  "hsl": {
    "h": 87.143,
    "s": 44.681,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.12104,
    "h": 130
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#628834
secondary
#8868B0
accent
#53D48E
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628834

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

Preview Lab → · Contrast checker → · Palette generator →

#628834 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva