#646117#646117

#646117 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 48.1% C 0.092 H 107.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#646117
RGBrgb(100, 97, 23)
HSLhsl(58, 63%, 24%)
HSVhsv(58, 77%, 39%)
CMYKcmyk(0%, 3%, 77%, 60.8%)
CIE-LABlab(40.12, -8.34, 40.02)
CIE-LCHlch(40.12, 40.88, 101.77°)
OKLaboklab(48.09% -0.0271 0.0884)
OKLCHoklch(48.09% 0.092 107.1)
XYZxyz(9.6853, 11.3209, 2.4854)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646117 #171A64
analogous
#643B17 #646117 #416417
triadic
#646117 #176461 #611764
tetradic
#646117 #17643B #171A64 #641741
square
#646117 #17643B #171A64 #641741
split-complementary
#646117 #174164 #3B1764
monochromatic
#191806 #32310C #646117 #969122 #C8C22E

Accessibility & contrast

On white

6.43
#646117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#646117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646117
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646117#FFFFFF#000000##FFFFFF
##6461171.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D09
Deuteranopia (green-blind)
#6B601C
Tritanopia (blue-blind)
#6C5A53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #646117;
/* rgb */ color: rgb(100, 97, 23);
/* oklch */ color: oklch(48.1% 0.092 107.1);
Tailwind
colors: {
  custom: {
    50: '#938d5a',
    500: '#646117',
    950: '#000000',
  },
}
SCSS
$custom: #646117;
$custom-light: #938d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#646117",
  "rgb": {
    "r": 100,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 57.662,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.09243,
    "h": 107.1
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#646117
secondary
#3C409A
accent
#49E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646117

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

Preview Lab → · Contrast checker → · Palette generator →

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