#628438#628438

#628438 is a mid, moderate yellow-green. Relative luminance 0.194; OKLCH L 57.0% C 0.111 H 129.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#628438
RGBrgb(98, 132, 56)
HSLhsl(87, 40%, 37%)
HSVhsv(87, 58%, 52%)
CMYKcmyk(25.8%, 0%, 57.6%, 48.2%)
CIE-LABlab(51.13, -25.30, 36.61)
CIE-LCHlch(51.13, 44.51, 124.64°)
OKLaboklab(57.01% -0.0709 0.0861)
OKLCHoklch(57.01% 0.111 129.5)
XYZxyz(14.0020, 19.3844, 6.7445)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628438 #5A3884
analogous
#848038 #628438 #3C8438
triadic
#628438 #386284 #843862
tetradic
#628438 #388480 #5A3884 #84383C
square
#628438 #388480 #5A3884 #84383C
split-complementary
#628438 #383C84 #803884
monochromatic
#222E14 #425926 #628438 #82AF4A #9FC473

Accessibility & contrast

On white

4.31
#628438 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#628438 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628438
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628438#FFFFFF#000000##000000
##6284381.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B30
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#647F73
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #628438;
/* rgb */ color: rgb(98, 132, 56);
/* oklch */ color: oklch(57.0% 0.111 129.5);
Tailwind
colors: {
  custom: {
    50: '#91a871',
    500: '#628438',
    950: '#000000',
  },
}
SCSS
$custom: #628438;
$custom-light: #91a871;
$custom-dark: #000000;
JSON
{
  "hex": "#628438",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 56
  },
  "hsl": {
    "h": 86.842,
    "s": 40.426,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57006,
    "c": 0.11149,
    "h": 129.5
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#628438
secondary
#886BAC
accent
#58D08E
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #628438

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

Preview Lab → · Contrast checker → · Palette generator →

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