#646715#646715

#646715 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.5% C 0.100 H 111.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#646715
RGBrgb(100, 103, 21)
HSLhsl(62, 66%, 24%)
HSVhsv(62, 80%, 40%)
CMYKcmyk(2.9%, 0%, 79.6%, 59.6%)
CIE-LABlab(41.94, -11.83, 42.49)
CIE-LCHlch(41.94, 44.11, 105.56°)
OKLaboklab(49.55% -0.0371 0.0932)
OKLCHoklch(49.55% 0.1 111.7)
XYZxyz(10.2415, 12.4642, 2.5757)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646715 #181567
analogous
#674115 #646715 #3B6715
triadic
#646715 #156467 #671564
tetradic
#646715 #156741 #181567 #67153B
square
#646715 #156741 #181567 #67153B
split-complementary
#646715 #153B67 #411567
monochromatic
#191905 #33340B #646715 #959A1F #C7CD2A

Accessibility & contrast

On white

6.01
#646715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#646715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646715
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646715#FFFFFF#000000##FFFFFF
##6467151.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706203
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#6B6058
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #646715;
/* rgb */ color: rgb(100, 103, 21);
/* oklch */ color: oklch(49.5% 0.100 111.7);
Tailwind
colors: {
  custom: {
    50: '#93925a',
    500: '#646715',
    950: '#000000',
  },
}
SCSS
$custom: #646715;
$custom-light: #93925a;
$custom-dark: #000000;
JSON
{
  "hex": "#646715",
  "rgb": {
    "r": 100,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 62.195,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49547,
    "c": 0.10031,
    "h": 111.7
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#646715
secondary
#3E3A9E
accent
#3FE945
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646715

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

Preview Lab → · Contrast checker → · Palette generator →

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