#628117#628117

#628117 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.9% C 0.132 H 125.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#628117
RGBrgb(98, 129, 23)
HSLhsl(78, 70%, 30%)
HSVhsv(78, 82%, 51%)
CMYKcmyk(24%, 0%, 82.2%, 49.4%)
CIE-LABlab(49.93, -26.28, 49.08)
CIE-LCHlch(49.93, 55.68, 118.17°)
OKLaboklab(55.95% -0.0765 0.1076)
OKLCHoklch(55.95% 0.132 125.4)
XYZxyz(13.0420, 18.3589, 3.6670)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628117 #361781
analogous
#816B17 #628117 #2D8117
triadic
#628117 #176281 #811762
tetradic
#628117 #17816B #361781 #81172D
square
#628117 #17816B #361781 #81172D
split-complementary
#628117 #172D81 #6B1781
monochromatic
#141A05 #3B4D0E #628117 #89B520 #ABDB37

Accessibility & contrast

On white

4.50
#628117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#628117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628117
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628117#FFFFFF#000000##000000
##6281171.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#677A6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628117;
/* rgb */ color: rgb(98, 129, 23);
/* oklch */ color: oklch(55.9% 0.132 125.4);
Tailwind
colors: {
  custom: {
    50: '#92a55f',
    500: '#628117',
    950: '#000000',
  },
}
SCSS
$custom: #628117;
$custom-light: #92a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#628117",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 77.547,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.13203,
    "h": 125.4
  },
  "luminance": 0.18359
}

Semantic roles & 50–950 ramp

primary
#628117
secondary
#613EB5
accent
#3BED6F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628117

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

Preview Lab → · Contrast checker → · Palette generator →

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