#628134#628134

#628134 is a mid, moderate yellow-green. Relative luminance 0.185; OKLCH L 56.2% C 0.111 H 127.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#628134
RGBrgb(98, 129, 52)
HSLhsl(84, 43%, 35%)
HSVhsv(84, 60%, 51%)
CMYKcmyk(24%, 0%, 59.7%, 49.4%)
CIE-LABlab(50.15, -24.21, 37.46)
CIE-LCHlch(50.15, 44.60, 122.88°)
OKLaboklab(56.2% -0.0682 0.0875)
OKLCHoklch(56.2% 0.111 127.9)
XYZxyz(13.5070, 18.5449, 6.1160)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628134 #533481
analogous
#817934 #628134 #3B8134
triadic
#628134 #346281 #813462
tetradic
#628134 #348179 #533481 #81343B
square
#628134 #348179 #533481 #81343B
split-complementary
#628134 #343B81 #793481
monochromatic
#202A11 #415522 #628134 #83AD46 #A0C46C

Accessibility & contrast

On white

4.46
#628134 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#628134 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628134
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628134#FFFFFF#000000##000000
##6281341.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87792C
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#657C70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628134;
/* rgb */ color: rgb(98, 129, 52);
/* oklch */ color: oklch(56.2% 0.111 127.9);
Tailwind
colors: {
  custom: {
    50: '#91a56e',
    500: '#628134',
    950: '#000000',
  },
}
SCSS
$custom: #628134;
$custom-light: #91a56e;
$custom-dark: #000000;
JSON
{
  "hex": "#628134",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 52
  },
  "hsl": {
    "h": 84.156,
    "s": 42.541,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.11091,
    "h": 127.9
  },
  "luminance": 0.18545
}

Semantic roles & 50–950 ramp

primary
#628134
secondary
#8265AC
accent
#55D288
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #628134

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

Preview Lab → · Contrast checker → · Palette generator →

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