#626117#626117

#626117 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.9% C 0.093 H 108.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#626117
RGBrgb(98, 97, 23)
HSLhsl(59, 62%, 24%)
HSVhsv(59, 77%, 38%)
CMYKcmyk(0%, 1%, 76.5%, 61.6%)
CIE-LABlab(39.93, -9.30, 39.77)
CIE-LCHlch(39.93, 40.85, 103.17°)
OKLaboklab(47.9% -0.0297 0.0879)
OKLCHoklch(47.9% 0.093 108.7)
XYZxyz(9.4667, 11.2082, 2.4752)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626117 #171862
analogous
#623B17 #626117 #3D6217
triadic
#626117 #176261 #611762
tetradic
#626117 #17623B #171862 #62173D
square
#626117 #17623B #171862 #62173D
split-complementary
#626117 #173D62 #3B1762
monochromatic
#191906 #30300B #626117 #949223 #C5C32E

Accessibility & contrast

On white

6.48
#626117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#626117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626117
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626117#FFFFFF#000000##FFFFFF
##6261171.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D09
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#695A53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #626117;
/* rgb */ color: rgb(98, 97, 23);
/* oklch */ color: oklch(47.9% 0.093 108.7);
Tailwind
colors: {
  custom: {
    50: '#918d5a',
    500: '#626117',
    950: '#000000',
  },
}
SCSS
$custom: #626117;
$custom-light: #918d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#626117",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 59.2,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47895,
    "c": 0.0928,
    "h": 108.7
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#626117
secondary
#3C3D99
accent
#45E543
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626117

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

Preview Lab → · Contrast checker → · Palette generator →

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