#646A0E#646A0E

#646A0E is a mid, moderate yellow. Relative luminance 0.130; 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#646A0E
RGBrgb(100, 106, 14)
HSLhsl(64, 77%, 24%)
HSVhsv(64, 87%, 42%)
CMYKcmyk(5.7%, 0%, 86.8%, 58.4%)
CIE-LABlab(42.84, -13.78, 45.51)
CIE-LCHlch(42.84, 47.55, 106.84°)
OKLaboklab(50.25% -0.043 0.0983)
OKLCHoklch(50.25% 0.107 113.7)
XYZxyz(10.4892, 13.0493, 2.3816)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A0E #140E6A
analogous
#6A420E #646A0E #366A0E
triadic
#646A0E #0E646A #6A0E64
tetradic
#646A0E #0E6A42 #140E6A #6A0E36
square
#646A0E #0E6A42 #140E6A #6A0E36
split-complementary
#646A0E #0E366A #420E6A
monochromatic
#1A1B04 #313407 #646A0E #97A015 #CAD61C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646A0E#FFFFFF#000000##FFFFFF
##646A0E1.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)
#736618
Tritanopia (blue-blind)
#6B635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a0e;
/* rgb */ color: rgb(100, 106, 14);
/* oklch */ color: oklch(50.3% 0.107 113.7);
Tailwind
colors: {
  custom: {
    50: '#939458',
    500: '#646a0e',
    950: '#000000',
  },
}
SCSS
$custom: #646a0e;
$custom-light: #939458;
$custom-dark: #000000;
JSON
{
  "hex": "#646a0e",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 14
  },
  "hsl": {
    "h": 63.913,
    "s": 76.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.50251,
    "c": 0.1073,
    "h": 113.7
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#646A0E
secondary
#3831A3
accent
#35F341
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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