#628326#628326

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

Color values

HEX#628326
RGBrgb(98, 131, 38)
HSLhsl(81, 55%, 33%)
HSVhsv(81, 71%, 51%)
CMYKcmyk(25.2%, 0%, 71%, 48.6%)
CIE-LABlab(50.65, -26.39, 44.35)
CIE-LCHlch(50.65, 51.60, 120.76°)
OKLaboklab(56.56% -0.0755 0.1002)
OKLCHoklch(56.56% 0.125 127)
XYZxyz(13.5032, 18.9690, 4.7833)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628326 #472683
analogous
#837526 #628326 #338326
triadic
#628326 #266283 #832662
tetradic
#628326 #268375 #472683 #832633
square
#628326 #268375 #472683 #832633
split-complementary
#628326 #263383 #752683
monochromatic
#1B240A #3F5418 #628326 #85B234 #A3CE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628326#FFFFFF#000000##000000
##6283261.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)
#8A7A18
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#667D70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628326;
/* rgb */ color: rgb(98, 131, 38);
/* oklch */ color: oklch(56.6% 0.125 127.0);
Tailwind
colors: {
  custom: {
    50: '#92a766',
    500: '#628326',
    950: '#000000',
  },
}
SCSS
$custom: #628326;
$custom-light: #92a766;
$custom-dark: #000000;
JSON
{
  "hex": "#628326",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 38
  },
  "hsl": {
    "h": 81.29,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5656,
    "c": 0.12545,
    "h": 127
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#628326
secondary
#7452B2
accent
#49DE7E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628326

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

Preview Lab → · Contrast checker → · Palette generator →

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