#626217#626217

#626217 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.1% C 0.094 H 109.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#626217
RGBrgb(98, 98, 23)
HSLhsl(60, 62%, 24%)
HSVhsv(60, 77%, 38%)
CMYKcmyk(0%, 0%, 76.5%, 61.6%)
CIE-LABlab(40.24, -9.87, 40.07)
CIE-LCHlch(40.24, 41.27, 103.84°)
OKLaboklab(48.14% -0.0313 0.0886)
OKLCHoklch(48.14% 0.094 109.5)
XYZxyz(9.5597, 11.3942, 2.5062)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626217 #171762
analogous
#623C17 #626217 #3C6217
triadic
#626217 #176262 #621762
tetradic
#626217 #17623C #171762 #62173C
square
#626217 #17623C #171762 #62173C
split-complementary
#626217 #173C62 #3C1762
monochromatic
#191906 #30300B #626217 #949423 #C5C52E

Accessibility & contrast

On white

6.40
#626217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#626217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626217
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626217#FFFFFF#000000##FFFFFF
##6262171.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E09
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#695B54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #626217;
/* rgb */ color: rgb(98, 98, 23);
/* oklch */ color: oklch(48.1% 0.094 109.5);
Tailwind
colors: {
  custom: {
    50: '#918e5a',
    500: '#626217',
    950: '#000000',
  },
}
SCSS
$custom: #626217;
$custom-light: #918e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#626217",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48141,
    "c": 0.09392,
    "h": 109.5
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#626217
secondary
#3C3C99
accent
#43E543
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626217

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

Preview Lab → · Contrast checker → · Palette generator →

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