#628310#628310

#628310 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.4% C 0.138 H 125.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#628310
RGBrgb(98, 131, 16)
HSLhsl(77, 78%, 29%)
HSVhsv(77, 88%, 51%)
CMYKcmyk(25.2%, 0%, 87.8%, 48.6%)
CIE-LABlab(50.53, -27.53, 51.52)
CIE-LCHlch(50.53, 58.42, 118.12°)
OKLaboklab(56.43% -0.0803 0.1116)
OKLCHoklch(56.43% 0.138 125.7)
XYZxyz(13.2469, 18.8665, 3.4338)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628310 #311083
analogous
#836B10 #628310 #298310
triadic
#628310 #106283 #831062
tetradic
#628310 #10836B #311083 #831029
square
#628310 #10836B #311083 #831029
split-complementary
#628310 #102983 #6B1083
monochromatic
#141B03 #394C09 #628310 #8BBA17 #AFE529

Accessibility & contrast

On white

4.40
#628310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#628310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628310
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628310#FFFFFF#000000##000000
##6283101.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#677C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628310;
/* rgb */ color: rgb(98, 131, 16);
/* oklch */ color: oklch(56.4% 0.138 125.7);
Tailwind
colors: {
  custom: {
    50: '#93a75c',
    500: '#628310',
    950: '#000000',
  },
}
SCSS
$custom: #628310;
$custom-light: #93a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#628310",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 77.217,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56425,
    "c": 0.13754,
    "h": 125.7
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#628310
secondary
#5C36B9
accent
#33F56B
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628310

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

Preview Lab → · Contrast checker → · Palette generator →

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