#626017#626017

#626017 is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.6% C 0.092 H 107.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#626017
RGBrgb(98, 96, 23)
HSLhsl(58, 62%, 24%)
HSVhsv(58, 77%, 38%)
CMYKcmyk(0%, 2%, 76.5%, 61.6%)
CIE-LABlab(39.62, -8.73, 39.48)
CIE-LCHlch(39.62, 40.43, 102.47°)
OKLaboklab(47.65% -0.0281 0.0873)
OKLCHoklch(47.65% 0.092 107.8)
XYZxyz(9.3749, 11.0246, 2.4446)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626017 #171962
analogous
#623A17 #626017 #3E6217
triadic
#626017 #176260 #601762
tetradic
#626017 #17623A #171962 #62173E
square
#626017 #17623A #171962 #62173E
split-complementary
#626017 #173E62 #3A1762
monochromatic
#191806 #302F0B #626017 #949123 #C5C12E

Accessibility & contrast

On white

6.55
#626017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#626017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626017
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626017#FFFFFF#000000##FFFFFF
##6260171.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0A
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#6A5952
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #626017;
/* rgb */ color: rgb(98, 96, 23);
/* oklch */ color: oklch(47.6% 0.092 107.8);
Tailwind
colors: {
  custom: {
    50: '#918c5a',
    500: '#626017',
    950: '#000000',
  },
}
SCSS
$custom: #626017;
$custom-light: #918c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#626017",
  "rgb": {
    "r": 98,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 58.4,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4765,
    "c": 0.09171,
    "h": 107.8
  },
  "luminance": 0.11024
}

Semantic roles & 50–950 ramp

primary
#626017
secondary
#3C3F99
accent
#47E543
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626017

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

Preview Lab → · Contrast checker → · Palette generator →

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