#628334#628334

#628334 is a mid, moderate yellow-green. Relative luminance 0.191; OKLCH L 56.7% C 0.114 H 128.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#628334
RGBrgb(98, 131, 52)
HSLhsl(85, 43%, 36%)
HSVhsv(85, 60%, 51%)
CMYKcmyk(25.2%, 0%, 60.3%, 48.6%)
CIE-LABlab(50.78, -25.21, 38.17)
CIE-LCHlch(50.78, 45.74, 123.44°)
OKLaboklab(56.7% -0.071 0.089)
OKLCHoklch(56.7% 0.114 128.6)
XYZxyz(13.7731, 19.0769, 6.2047)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628334 #553483
analogous
#837C34 #628334 #3B8334
triadic
#628334 #346283 #833462
tetradic
#628334 #34837C #553483 #83343B
square
#628334 #34837C #553483 #83343B
split-complementary
#628334 #343B83 #7C3483
monochromatic
#202B11 #415723 #628334 #83AF45 #A0C56D

Accessibility & contrast

On white

4.36
#628334 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#628334 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628334
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628334#FFFFFF#000000##000000
##6283341.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A2C
Deuteranopia (green-blind)
#847839
Tritanopia (blue-blind)
#657D72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628334;
/* rgb */ color: rgb(98, 131, 52);
/* oklch */ color: oklch(56.7% 0.114 128.6);
Tailwind
colors: {
  custom: {
    50: '#91a76e',
    500: '#628334',
    950: '#000000',
  },
}
SCSS
$custom: #628334;
$custom-light: #91a76e;
$custom-dark: #000000;
JSON
{
  "hex": "#628334",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 85.063,
    "s": 43.169,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56703,
    "c": 0.11382,
    "h": 128.6
  },
  "luminance": 0.19077
}

Semantic roles & 50–950 ramp

primary
#628334
secondary
#8466AD
accent
#55D38A
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #628334

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

Preview Lab → · Contrast checker → · Palette generator →

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