#628325#628325

#628325 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.6% C 0.126 H 126.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#628325
RGBrgb(98, 131, 37)
HSLhsl(81, 56%, 33%)
HSVhsv(81, 72%, 51%)
CMYKcmyk(25.2%, 0%, 71.8%, 48.6%)
CIE-LABlab(50.64, -26.46, 44.75)
CIE-LCHlch(50.64, 51.99, 120.60°)
OKLaboklab(56.55% -0.0758 0.1009)
OKLCHoklch(56.55% 0.126 126.9)
XYZxyz(13.4873, 18.9626, 4.6995)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628325 #462583
analogous
#837525 #628325 #338325
triadic
#628325 #256283 #832562
tetradic
#628325 #258375 #462583 #832533
square
#628325 #258375 #462583 #832533
split-complementary
#628325 #253383 #752583
monochromatic
#1B240A #3E5318 #628325 #86B332 #A3CF54

Accessibility & contrast

On white

4.38
#628325 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#628325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628325
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628325#FFFFFF#000000##000000
##6283251.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A16
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#667D70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628325;
/* rgb */ color: rgb(98, 131, 37);
/* oklch */ color: oklch(56.6% 0.126 126.9);
Tailwind
colors: {
  custom: {
    50: '#92a766',
    500: '#628325',
    950: '#000000',
  },
}
SCSS
$custom: #628325;
$custom-light: #92a766;
$custom-dark: #000000;
JSON
{
  "hex": "#628325",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 37
  },
  "hsl": {
    "h": 81.064,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56552,
    "c": 0.12617,
    "h": 126.9
  },
  "luminance": 0.18963
}

Semantic roles & 50–950 ramp

primary
#628325
secondary
#7351B3
accent
#49DF7D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628325

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

Preview Lab → · Contrast checker → · Palette generator →

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