#628526#628526

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

Color values

HEX#628526
RGBrgb(98, 133, 38)
HSLhsl(82, 56%, 34%)
HSVhsv(82, 71%, 52%)
CMYKcmyk(26.3%, 0%, 71.4%, 47.8%)
CIE-LABlab(51.28, -27.37, 44.99)
CIE-LCHlch(51.28, 52.66, 121.31°)
OKLaboklab(57.07% -0.0782 0.1015)
OKLCHoklch(57.07% 0.128 127.6)
XYZxyz(13.7744, 19.5114, 4.8737)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628526 #492685
analogous
#857826 #628526 #328526
triadic
#628526 #266285 #852662
tetradic
#628526 #268578 #492685 #852632
square
#628526 #268578 #492685 #852632
split-complementary
#628526 #263285 #782685
monochromatic
#1C260B #3F5518 #628526 #85B534 #A3CF57

Accessibility & contrast

On white

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

On black

4.90
#628526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628526
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628526#FFFFFF#000000##000000
##6285261.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C17
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#667F72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #628526;
/* rgb */ color: rgb(98, 133, 38);
/* oklch */ color: oklch(57.1% 0.128 127.6);
Tailwind
colors: {
  custom: {
    50: '#92a866',
    500: '#628526',
    950: '#000000',
  },
}
SCSS
$custom: #628526;
$custom-light: #92a866;
$custom-dark: #000000;
JSON
{
  "hex": "#628526",
  "rgb": {
    "r": 98,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 82.105,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57071,
    "c": 0.12815,
    "h": 127.6
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#628526
secondary
#7753B3
accent
#49DF80
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628526

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

Preview Lab → · Contrast checker → · Palette generator →

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