#646126#646126

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

Color values

HEX#646126
RGBrgb(100, 97, 38)
HSLhsl(57, 45%, 27%)
HSVhsv(57, 62%, 39%)
CMYKcmyk(0%, 3%, 62%, 60.8%)
CIE-LABlab(40.24, -7.34, 33.30)
CIE-LCHlch(40.24, 34.10, 102.42°)
OKLaboklab(48.23% -0.0225 0.0768)
OKLCHoklch(48.23% 0.08 106.3)
XYZxyz(9.8804, 11.3990, 3.5131)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646126 #262964
analogous
#644226 #646126 #486426
triadic
#646126 #266461 #612664
tetradic
#646126 #266442 #262964 #642648
square
#646126 #266442 #262964 #642648
split-complementary
#646126 #264864 #422664
monochromatic
#161608 #383615 #646126 #908C37 #BAB54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646126#FFFFFF#000000##FFFFFF
##6461261.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)
#695D20
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#6B5B54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #646126;
/* rgb */ color: rgb(100, 97, 38);
/* oklch */ color: oklch(48.2% 0.080 106.3);
Tailwind
colors: {
  custom: {
    50: '#928d63',
    500: '#646126',
    950: '#000000',
  },
}
SCSS
$custom: #646126;
$custom-light: #928d63;
$custom-dark: #000000;
JSON
{
  "hex": "#646126",
  "rgb": {
    "r": 100,
    "g": 97,
    "b": 38
  },
  "hsl": {
    "h": 57.097,
    "s": 44.928,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.08003,
    "h": 106.3
  },
  "luminance": 0.11399
}

Semantic roles & 50–950 ramp

primary
#646126
secondary
#4F5297
accent
#59D553
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0C05
muted
#7E7D7A

Preview Lab

Preview with #646126

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

Preview Lab → · Contrast checker → · Palette generator →

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