#628317#628317

#628317 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.135 H 126.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#628317
RGBrgb(98, 131, 23)
HSLhsl(78, 70%, 30%)
HSVhsv(78, 82%, 51%)
CMYKcmyk(25.2%, 0%, 82.4%, 48.6%)
CIE-LABlab(50.56, -27.26, 49.65)
CIE-LCHlch(50.56, 56.64, 118.77°)
OKLaboklab(56.46% -0.0791 0.1088)
OKLCHoklch(56.46% 0.135 126)
XYZxyz(13.3081, 18.8909, 3.7556)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628317 #381783
analogous
#836E17 #628317 #2C8317
triadic
#628317 #176283 #831762
tetradic
#628317 #17836E #381783 #83172C
square
#628317 #17836E #381783 #83172C
split-complementary
#628317 #172C83 #6E1783
monochromatic
#141B05 #3B4F0E #628317 #89B720 #AADC38

Accessibility & contrast

On white

4.39
#628317 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#628317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628317
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628317#FFFFFF#000000##000000
##6283171.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#677C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628317;
/* rgb */ color: rgb(98, 131, 23);
/* oklch */ color: oklch(56.5% 0.135 126.0);
Tailwind
colors: {
  custom: {
    50: '#92a75f',
    500: '#628317',
    950: '#000000',
  },
}
SCSS
$custom: #628317;
$custom-light: #92a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#628317",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 78.333,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.13455,
    "h": 126
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#628317
secondary
#633FB7
accent
#3BED71
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628317

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

Preview Lab → · Contrast checker → · Palette generator →

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