#628625#628625

#628625 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.3% C 0.130 H 127.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#628625
RGBrgb(98, 134, 37)
HSLhsl(82, 57%, 34%)
HSVhsv(82, 72%, 53%)
CMYKcmyk(26.9%, 0%, 72.4%, 47.5%)
CIE-LABlab(51.59, -27.92, 45.70)
CIE-LCHlch(51.59, 53.56, 121.42°)
OKLaboklab(57.32% -0.0798 0.1029)
OKLCHoklch(57.32% 0.13 127.8)
XYZxyz(13.8960, 19.7801, 4.8357)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628625 #492586
analogous
#867925 #628625 #318625
triadic
#628625 #256286 #862562
tetradic
#628625 #258679 #492586 #862531
square
#628625 #258679 #492586 #862531
split-complementary
#628625 #253186 #792586
monochromatic
#1C260B #3F5618 #628625 #85B632 #A3D055

Accessibility & contrast

On white

4.24
#628625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#628625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628625
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628625#FFFFFF#000000##000000
##6286251.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C15
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#668073
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #628625;
/* rgb */ color: rgb(98, 134, 37);
/* oklch */ color: oklch(57.3% 0.130 127.8);
Tailwind
colors: {
  custom: {
    50: '#92a966',
    500: '#628625',
    950: '#000000',
  },
}
SCSS
$custom: #628625;
$custom-light: #92a966;
$custom-dark: #000000;
JSON
{
  "hex": "#628625",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 82.268,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.1302,
    "h": 127.8
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

primary
#628625
secondary
#7752B4
accent
#48E080
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628625

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

Preview Lab → · Contrast checker → · Palette generator →

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