#646015#646015

#646015 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.8% C 0.093 H 106.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#646015
RGBrgb(100, 96, 21)
HSLhsl(57, 65%, 24%)
HSVhsv(57, 79%, 39%)
CMYKcmyk(0%, 4%, 79%, 60.8%)
CIE-LABlab(39.80, -7.86, 40.49)
CIE-LCHlch(39.80, 41.25, 100.99°)
OKLaboklab(47.83% -0.026 0.089)
OKLCHoklch(47.83% 0.093 106.3)
XYZxyz(9.5742, 11.1296, 2.3532)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646015 #151964
analogous
#643815 #646015 #406415
triadic
#646015 #156460 #601564
tetradic
#646015 #156438 #151964 #641540
square
#646015 #156438 #151964 #641540
split-complementary
#646015 #154064 #381564
monochromatic
#191805 #312F0A #646015 #979120 #C9C12A

Accessibility & contrast

On white

6.51
#646015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#646015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646015
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646015#FFFFFF#000000##FFFFFF
##6460151.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C06
Deuteranopia (green-blind)
#6B5F1B
Tritanopia (blue-blind)
#6C5952
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #646015;
/* rgb */ color: rgb(100, 96, 21);
/* oklch */ color: oklch(47.8% 0.093 106.3);
Tailwind
colors: {
  custom: {
    50: '#938c59',
    500: '#646015',
    950: '#000000',
  },
}
SCSS
$custom: #646015;
$custom-light: #938c59;
$custom-dark: #000000;
JSON
{
  "hex": "#646015",
  "rgb": {
    "r": 100,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 56.962,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47832,
    "c": 0.09268,
    "h": 106.3
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#646015
secondary
#3A3F9B
accent
#48E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646015

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

Preview Lab → · Contrast checker → · Palette generator →

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