#628529#628529

#628529 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.1% C 0.126 H 127.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#628529
RGBrgb(98, 133, 41)
HSLhsl(83, 53%, 34%)
HSVhsv(83, 69%, 52%)
CMYKcmyk(26.3%, 0%, 69.2%, 47.8%)
CIE-LABlab(51.30, -27.15, 43.76)
CIE-LCHlch(51.30, 51.50, 121.81°)
OKLaboklab(57.1% -0.0773 0.0994)
OKLCHoklch(57.1% 0.126 127.9)
XYZxyz(13.8248, 19.5315, 5.1390)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628529 #4C2985
analogous
#857A29 #628529 #348529
triadic
#628529 #296285 #852962
tetradic
#628529 #29857A #4C2985 #852934
square
#628529 #29857A #4C2985 #852934
split-complementary
#628529 #293485 #7A2985
monochromatic
#1D270C #40561B #628529 #84B437 #A2CD5C

Accessibility & contrast

On white

4.28
#628529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#628529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628529
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628529#FFFFFF#000000##000000
##6285291.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1C
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#657F72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #628529;
/* rgb */ color: rgb(98, 133, 41);
/* oklch */ color: oklch(57.1% 0.126 127.9);
Tailwind
colors: {
  custom: {
    50: '#92a868',
    500: '#628529',
    950: '#000000',
  },
}
SCSS
$custom: #628529;
$custom-light: #92a868;
$custom-dark: #000000;
JSON
{
  "hex": "#628529",
  "rgb": {
    "r": 98,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 82.826,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57097,
    "c": 0.12594,
    "h": 127.9
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

primary
#628529
secondary
#7A58B2
accent
#4CDC83
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628529

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

Preview Lab → · Contrast checker → · Palette generator →

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