#626517#626517

#626517 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.9% C 0.097 H 111.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#626517
RGBrgb(98, 101, 23)
HSLhsl(62, 63%, 24%)
HSVhsv(62, 77%, 40%)
CMYKcmyk(3%, 0%, 77.2%, 60.4%)
CIE-LABlab(41.16, -11.57, 40.95)
CIE-LCHlch(41.16, 42.55, 105.77°)
OKLaboklab(48.88% -0.036 0.0904)
OKLCHoklch(48.88% 0.097 111.7)
XYZxyz(9.8457, 11.9661, 2.6015)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626517 #1A1765
analogous
#654117 #626517 #3B6517
triadic
#626517 #176265 #651762
tetradic
#626517 #176541 #1A1765 #65173B
square
#626517 #176541 #1A1765 #65173B
split-complementary
#626517 #173B65 #411765
monochromatic
#181906 #32330C #626517 #929722 #C3C92E

Accessibility & contrast

On white

6.19
#626517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#626517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626517
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626517#FFFFFF#000000##FFFFFF
##6265171.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6008
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#695E56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #626517;
/* rgb */ color: rgb(98, 101, 23);
/* oklch */ color: oklch(48.9% 0.097 111.7);
Tailwind
colors: {
  custom: {
    50: '#91905b',
    500: '#626517',
    950: '#000000',
  },
}
SCSS
$custom: #626517;
$custom-light: #91905b;
$custom-dark: #000000;
JSON
{
  "hex": "#626517",
  "rgb": {
    "r": 98,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 62.308,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48881,
    "c": 0.09733,
    "h": 111.7
  },
  "luminance": 0.11966
}

Semantic roles & 50–950 ramp

primary
#626517
secondary
#403C9B
accent
#42E648
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626517

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

Preview Lab → · Contrast checker → · Palette generator →

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