#626515#626515

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

Color values

HEX#626515
RGBrgb(98, 101, 21)
HSLhsl(62, 66%, 24%)
HSVhsv(62, 79%, 40%)
CMYKcmyk(3%, 0%, 79.2%, 60.4%)
CIE-LABlab(41.15, -11.67, 41.69)
CIE-LCHlch(41.15, 43.29, 105.63°)
OKLaboklab(48.87% -0.0365 0.0916)
OKLCHoklch(48.87% 0.099 111.7)
XYZxyz(9.8264, 11.9584, 2.4999)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626515 #181565
analogous
#654015 #626515 #3A6515
triadic
#626515 #156265 #651562
tetradic
#626515 #156540 #181565 #65153A
square
#626515 #156540 #181565 #65153A
split-complementary
#626515 #153A65 #401565
monochromatic
#191905 #31320A #626515 #939820 #C4CA2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626515#FFFFFF#000000##FFFFFF
##6265151.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)
#6D6004
Deuteranopia (green-blind)
#6E621C
Tritanopia (blue-blind)
#695E56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #626515;
/* rgb */ color: rgb(98, 101, 21);
/* oklch */ color: oklch(48.9% 0.099 111.7);
Tailwind
colors: {
  custom: {
    50: '#91905a',
    500: '#626515',
    950: '#000000',
  },
}
SCSS
$custom: #626515;
$custom-light: #91905a;
$custom-dark: #000000;
JSON
{
  "hex": "#626515",
  "rgb": {
    "r": 98,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 62.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48867,
    "c": 0.09859,
    "h": 111.7
  },
  "luminance": 0.11958
}

Semantic roles & 50–950 ramp

primary
#626515
secondary
#3E3A9C
accent
#3FE946
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626515

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

Preview Lab → · Contrast checker → · Palette generator →

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