#646D0F#646D0F

#646D0F is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.0% C 0.110 H 115.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#646D0F
RGBrgb(100, 109, 15)
HSLhsl(66, 76%, 24%)
HSVhsv(66, 86%, 43%)
CMYKcmyk(8.3%, 0%, 86.2%, 57.3%)
CIE-LABlab(43.77, -15.38, 46.04)
CIE-LCHlch(43.77, 48.54, 108.48°)
OKLaboklab(51% -0.0474 0.0996)
OKLCHoklch(51% 0.11 115.4)
XYZxyz(10.8107, 13.6813, 2.5231)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D0F #180F6D
analogous
#6D470F #646D0F #356D0F
triadic
#646D0F #0F646D #6D0F64
tetradic
#646D0F #0F6D47 #180F6D #6D0F35
square
#646D0F #0F6D47 #180F6D #6D0F35
split-complementary
#646D0F #0F356D #470F6D
monochromatic
#191B04 #333708 #646D0F #95A316 #C7D91E

Accessibility & contrast

On white

5.62
#646D0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#646D0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646D0F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D0F#FFFFFF#000000##FFFFFF
##646D0F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#756819
Tritanopia (blue-blind)
#6B665C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646d0f;
/* rgb */ color: rgb(100, 109, 15);
/* oklch */ color: oklch(51.0% 0.110 115.4);
Tailwind
colors: {
  custom: {
    50: '#939658',
    500: '#646d0f',
    950: '#000000',
  },
}
SCSS
$custom: #646d0f;
$custom-light: #939658;
$custom-dark: #000000;
JSON
{
  "hex": "#646d0f",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 15
  },
  "hsl": {
    "h": 65.745,
    "s": 75.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.51003,
    "c": 0.11031,
    "h": 115.4
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#646D0F
secondary
#3E33A5
accent
#35F248
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646D0F

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

Preview Lab → · Contrast checker → · Palette generator →

#646D0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva