#646A10#646A10

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

Color values

HEX#646A10
RGBrgb(100, 106, 16)
HSLhsl(64, 74%, 24%)
HSVhsv(64, 85%, 42%)
CMYKcmyk(5.7%, 0%, 84.9%, 58.4%)
CIE-LABlab(42.85, -13.71, 44.94)
CIE-LCHlch(42.85, 46.99, 106.96°)
OKLaboklab(50.26% -0.0427 0.0975)
OKLCHoklch(50.26% 0.106 113.7)
XYZxyz(10.5034, 13.0550, 2.4567)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A10 #16106A
analogous
#6A4310 #646A10 #376A10
triadic
#646A10 #10646A #6A1064
tetradic
#646A10 #106A43 #16106A #6A1037
square
#646A10 #106A43 #16106A #6A1037
split-complementary
#646A10 #10376A #43106A
monochromatic
#191B04 #323508 #646A10 #969F18 #C8D420

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #646a10;
/* rgb */ color: rgb(100, 106, 16);
/* oklch */ color: oklch(50.3% 0.106 113.7);
Tailwind
colors: {
  custom: {
    50: '#939458',
    500: '#646a10',
    950: '#000000',
  },
}
SCSS
$custom: #646a10;
$custom-light: #939458;
$custom-dark: #000000;
JSON
{
  "hex": "#646a10",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 64,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.50261,
    "c": 0.10639,
    "h": 113.7
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#646A10
secondary
#3B34A2
accent
#37F044
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646A10

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

Preview Lab → · Contrast checker → · Palette generator →

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