#626417#626417

#626417 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.6% C 0.096 H 111.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#626417
RGBrgb(98, 100, 23)
HSLhsl(62, 63%, 24%)
HSVhsv(62, 77%, 39%)
CMYKcmyk(2%, 0%, 77%, 60.8%)
CIE-LABlab(40.85, -11.00, 40.66)
CIE-LCHlch(40.85, 42.12, 105.14°)
OKLaboklab(48.63% -0.0344 0.0898)
OKLCHoklch(48.63% 0.096 111)
XYZxyz(9.7492, 11.7731, 2.5693)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626417 #191764
analogous
#644017 #626417 #3C6417
triadic
#626417 #176264 #641762
tetradic
#626417 #176440 #191764 #64173C
square
#626417 #176440 #191764 #64173C
split-complementary
#626417 #173C64 #401764
monochromatic
#181906 #31320C #626417 #939622 #C4C82E

Accessibility & contrast

On white

6.26
#626417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#626417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626417
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626417#FFFFFF#000000##FFFFFF
##6264171.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F08
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#695D55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #626417;
/* rgb */ color: rgb(98, 100, 23);
/* oklch */ color: oklch(48.6% 0.096 111.0);
Tailwind
colors: {
  custom: {
    50: '#91905a',
    500: '#626417',
    950: '#000000',
  },
}
SCSS
$custom: #626417;
$custom-light: #91905a;
$custom-dark: #000000;
JSON
{
  "hex": "#626417",
  "rgb": {
    "r": 98,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 61.558,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48634,
    "c": 0.09617,
    "h": 111
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#626417
secondary
#3F3C9A
accent
#42E646
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626417

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

Preview Lab → · Contrast checker → · Palette generator →

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