#646215#646215

#646215 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.3% C 0.095 H 107.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#646215
RGBrgb(100, 98, 21)
HSLhsl(58, 65%, 24%)
HSVhsv(58, 79%, 39%)
CMYKcmyk(0%, 2%, 79%, 60.8%)
CIE-LABlab(40.41, -9.01, 41.07)
CIE-LCHlch(40.41, 42.04, 102.38°)
OKLaboklab(48.32% -0.0292 0.0902)
OKLCHoklch(48.32% 0.095 107.9)
XYZxyz(9.7589, 11.4992, 2.4148)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646215 #151764
analogous
#643A15 #646215 #3E6415
triadic
#646215 #156462 #621564
tetradic
#646215 #15643A #151764 #64153E
square
#646215 #15643A #151764 #64153E
split-complementary
#646215 #153E64 #3A1564
monochromatic
#191905 #31300A #646215 #979420 #C9C52A

Accessibility & contrast

On white

6.36
#646215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#646215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646215
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646215#FFFFFF#000000##FFFFFF
##6462151.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E05
Deuteranopia (green-blind)
#6C601B
Tritanopia (blue-blind)
#6C5B53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #646215;
/* rgb */ color: rgb(100, 98, 21);
/* oklch */ color: oklch(48.3% 0.095 107.9);
Tailwind
colors: {
  custom: {
    50: '#938e59',
    500: '#646215',
    950: '#000000',
  },
}
SCSS
$custom: #646215;
$custom-light: #938e59;
$custom-dark: #000000;
JSON
{
  "hex": "#646215",
  "rgb": {
    "r": 100,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 58.481,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48319,
    "c": 0.09478,
    "h": 107.9
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#646215
secondary
#3A3C9B
accent
#44E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646215

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

Preview Lab → · Contrast checker → · Palette generator →

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