#628518#628518

#628518 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.0% C 0.137 H 126.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#628518
RGBrgb(98, 133, 24)
HSLhsl(79, 69%, 31%)
HSVhsv(79, 82%, 52%)
CMYKcmyk(26.3%, 0%, 82%, 47.8%)
CIE-LABlab(51.20, -28.18, 49.93)
CIE-LCHlch(51.20, 57.33, 119.44°)
OKLaboklab(56.97% -0.0816 0.1096)
OKLCHoklch(56.97% 0.137 126.7)
XYZxyz(13.5895, 19.4374, 3.8998)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628518 #3B1885
analogous
#857118 #628518 #2B8518
triadic
#628518 #186285 #851862
tetradic
#628518 #188571 #3B1885 #85182B
square
#628518 #188571 #3B1885 #85182B
split-complementary
#628518 #182B85 #711885
monochromatic
#161D05 #3C510F #628518 #88B921 #A8DC3C

Accessibility & contrast

On white

4.30
#628518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#628518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628518
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628518#FFFFFF#000000##000000
##6285181.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#887924
Tritanopia (blue-blind)
#667E71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #628518;
/* rgb */ color: rgb(98, 133, 24);
/* oklch */ color: oklch(57.0% 0.137 126.7);
Tailwind
colors: {
  custom: {
    50: '#92a860',
    500: '#628518',
    950: '#000000',
  },
}
SCSS
$custom: #628518;
$custom-light: #92a860;
$custom-dark: #000000;
JSON
{
  "hex": "#628518",
  "rgb": {
    "r": 98,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 79.266,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.1366,
    "h": 126.7
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#628518
secondary
#6740B9
accent
#3CEC74
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628518

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

Preview Lab → · Contrast checker → · Palette generator →

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