#646830#646830

#646830 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.1% C 0.078 H 112.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#646830
RGBrgb(100, 104, 48)
HSLhsl(64, 37%, 30%)
HSVhsv(64, 54%, 41%)
CMYKcmyk(3.8%, 0%, 53.8%, 59.2%)
CIE-LABlab(42.50, -10.41, 30.67)
CIE-LCHlch(42.50, 32.39, 108.76°)
OKLaboklab(50.07% -0.0301 0.0724)
OKLCHoklch(50.07% 0.078 112.6)
XYZxyz(10.7395, 12.8235, 4.7052)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646830 #343068
analogous
#685030 #646830 #486830
triadic
#646830 #306468 #683064
tetradic
#646830 #306850 #343068 #683048
square
#646830 #306850 #343068 #683048
split-complementary
#646830 #304868 #503068
monochromatic
#14150A #3C3E1D #646830 #8C9243 #AEB55E

Accessibility & contrast

On white

5.89
#646830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#646830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646830
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646830#FFFFFF#000000##FFFFFF
##6468301.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F642B
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#6A625B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #646830;
/* rgb */ color: rgb(100, 104, 48);
/* oklch */ color: oklch(50.1% 0.078 112.6);
Tailwind
colors: {
  custom: {
    50: '#91936a',
    500: '#646830',
    950: '#000000',
  },
}
SCSS
$custom: #646830;
$custom-light: #91936a;
$custom-dark: #000000;
JSON
{
  "hex": "#646830",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 64.286,
    "s": 36.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.07835,
    "h": 112.6
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#646830
secondary
#5F5A99
accent
#5BCD63
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646830

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

Preview Lab → · Contrast checker → · Palette generator →

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