#646A0F#646A0F

#646A0F is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.3% C 0.107 H 113.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#646A0F
RGBrgb(100, 106, 15)
HSLhsl(64, 75%, 24%)
HSVhsv(64, 86%, 42%)
CMYKcmyk(5.7%, 0%, 85.8%, 58.4%)
CIE-LABlab(42.84, -13.74, 45.23)
CIE-LCHlch(42.84, 47.28, 106.90°)
OKLaboklab(50.26% -0.0429 0.0979)
OKLCHoklch(50.26% 0.107 113.7)
XYZxyz(10.4961, 13.0521, 2.4182)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A0F #150F6A
analogous
#6A420F #646A0F #366A0F
triadic
#646A0F #0F646A #6A0F64
tetradic
#646A0F #0F6A42 #150F6A #6A0F36
square
#646A0F #0F6A42 #150F6A #6A0F36
split-complementary
#646A0F #0F366A #420F6A
monochromatic
#191B04 #313407 #646A0F #97A017 #C9D51E

Accessibility & contrast

On white

5.82
#646A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#646A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A0F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A0F#FFFFFF#000000##FFFFFF
##646A0F1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736400
Deuteranopia (green-blind)
#726618
Tritanopia (blue-blind)
#6B635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a0f;
/* rgb */ color: rgb(100, 106, 15);
/* oklch */ color: oklch(50.3% 0.107 113.7);
Tailwind
colors: {
  custom: {
    50: '#939458',
    500: '#646a0f',
    950: '#000000',
  },
}
SCSS
$custom: #646a0f;
$custom-light: #939458;
$custom-dark: #000000;
JSON
{
  "hex": "#646a0f",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 63.956,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.50256,
    "c": 0.10686,
    "h": 113.7
  },
  "luminance": 0.13052
}

Semantic roles & 50–950 ramp

primary
#646A0F
secondary
#3A32A2
accent
#36F242
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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