#628436#628436

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

Color values

HEX#628436
RGBrgb(98, 132, 54)
HSLhsl(86, 42%, 36%)
HSVhsv(86, 59%, 52%)
CMYKcmyk(25.8%, 0%, 59.1%, 48.2%)
CIE-LABlab(51.11, -25.51, 37.58)
CIE-LCHlch(51.11, 45.42, 124.17°)
OKLaboklab(56.98% -0.0716 0.0879)
OKLCHoklch(56.98% 0.113 129.2)
XYZxyz(13.9540, 19.3652, 6.4920)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628436 #583684
analogous
#847F36 #628436 #3B8436
triadic
#628436 #366284 #843662
tetradic
#628436 #36847F #583684 #84363B
square
#628436 #36847F #583684 #84363B
split-complementary
#628436 #363B84 #7F3684
monochromatic
#222D12 #425924 #628436 #82AF48 #A0C470

Accessibility & contrast

On white

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

On black

4.87
#628436 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628436
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628436#FFFFFF#000000##000000
##6284361.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2E
Deuteranopia (green-blind)
#85793B
Tritanopia (blue-blind)
#657F73
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #628436;
/* rgb */ color: rgb(98, 132, 54);
/* oklch */ color: oklch(57.0% 0.113 129.2);
Tailwind
colors: {
  custom: {
    50: '#91a870',
    500: '#628436',
    950: '#000000',
  },
}
SCSS
$custom: #628436;
$custom-light: #91a870;
$custom-dark: #000000;
JSON
{
  "hex": "#628436",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 54
  },
  "hsl": {
    "h": 86.154,
    "s": 41.935,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.11341,
    "h": 129.2
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

primary
#628436
secondary
#8769AD
accent
#56D28C
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #628436

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

Preview Lab → · Contrast checker → · Palette generator →

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