#628522#628522

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

Color values

HEX#628522
RGBrgb(98, 133, 34)
HSLhsl(81, 59%, 33%)
HSVhsv(81, 74%, 52%)
CMYKcmyk(26.3%, 0%, 74.4%, 47.8%)
CIE-LABlab(51.25, -27.64, 46.54)
CIE-LCHlch(51.25, 54.13, 120.70°)
OKLaboklab(57.04% -0.0793 0.1041)
OKLCHoklch(57.04% 0.131 127.3)
XYZxyz(13.7133, 19.4870, 4.5519)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628522 #452285
analogous
#857622 #628522 #318522
triadic
#628522 #226285 #852262
tetradic
#628522 #228576 #452285 #852231
square
#628522 #228576 #452285 #852231
split-complementary
#628522 #223185 #762285
monochromatic
#1A2409 #3E5416 #628522 #86B62E #A4D24F

Accessibility & contrast

On white

4.29
#628522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##628522#FFFFFF#000000##000000
##6285221.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #628522;
/* rgb */ color: rgb(98, 133, 34);
/* oklch */ color: oklch(57.0% 0.131 127.3);
Tailwind
colors: {
  custom: {
    50: '#92a864',
    500: '#628522',
    950: '#000000',
  },
}
SCSS
$custom: #628522;
$custom-light: #92a864;
$custom-dark: #000000;
JSON
{
  "hex": "#628522",
  "rgb": {
    "r": 98,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 81.212,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57039,
    "c": 0.13088,
    "h": 127.3
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#628522
secondary
#724DB6
accent
#45E27D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628522

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

Preview Lab → · Contrast checker → · Palette generator →

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