#628123#628123

#628123 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.125 H 126.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#628123
RGBrgb(98, 129, 35)
HSLhsl(80, 57%, 32%)
HSVhsv(80, 73%, 51%)
CMYKcmyk(24%, 0%, 72.9%, 49.4%)
CIE-LABlab(50.00, -25.61, 44.90)
CIE-LCHlch(50.00, 51.69, 119.70°)
OKLaboklab(56.03% -0.0737 0.1009)
OKLCHoklch(56.03% 0.125 126.1)
XYZxyz(13.1907, 18.4183, 4.4499)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628123 #422381
analogous
#817123 #628123 #338123
triadic
#628123 #236281 #812362
tetradic
#628123 #238171 #422381 #812333
square
#628123 #238171 #422381 #812333
split-complementary
#628123 #233381 #712381
monochromatic
#192109 #3D5116 #628123 #87B130 #A5CF4F

Accessibility & contrast

On white

4.48
#628123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#628123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628123
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628123#FFFFFF#000000##000000
##6281231.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#667B6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628123;
/* rgb */ color: rgb(98, 129, 35);
/* oklch */ color: oklch(56.0% 0.125 126.1);
Tailwind
colors: {
  custom: {
    50: '#92a564',
    500: '#628123',
    950: '#000000',
  },
}
SCSS
$custom: #628123;
$custom-light: #92a564;
$custom-dark: #000000;
JSON
{
  "hex": "#628123",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 79.787,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56026,
    "c": 0.1249,
    "h": 126.1
  },
  "luminance": 0.18419
}

Semantic roles & 50–950 ramp

primary
#628123
secondary
#6F4DB3
accent
#47E17A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628123

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

Preview Lab → · Contrast checker → · Palette generator →

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