#646D18#646D18

#646D18 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.1% C 0.106 H 115.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#646D18
RGBrgb(100, 109, 24)
HSLhsl(66, 64%, 26%)
HSVhsv(66, 78%, 43%)
CMYKcmyk(8.3%, 0%, 78%, 57.3%)
CIE-LABlab(43.82, -14.99, 43.15)
CIE-LCHlch(43.82, 45.68, 109.16°)
OKLaboklab(51.05% -0.0456 0.0952)
OKLCHoklch(51.05% 0.106 115.6)
XYZxyz(10.8893, 13.7127, 2.9372)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D18 #21186D
analogous
#6D4B18 #646D18 #396D18
triadic
#646D18 #18646D #6D1864
tetradic
#646D18 #186D4B #21186D #6D1839
square
#646D18 #186D4B #21186D #6D1839
split-complementary
#646D18 #18396D #4B186D
monochromatic
#171906 #363B0D #646D18 #929F23 #C0D12E

Accessibility & contrast

On white

5.61
#646D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646D18
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D18#FFFFFF#000000##FFFFFF
##646D181.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756706
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646d18;
/* rgb */ color: rgb(100, 109, 24);
/* oklch */ color: oklch(51.1% 0.106 115.6);
Tailwind
colors: {
  custom: {
    50: '#93965c',
    500: '#646d18',
    950: '#000000',
  },
}
SCSS
$custom: #646d18;
$custom-light: #93965c;
$custom-dark: #000000;
JSON
{
  "hex": "#646d18",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 66.353,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.10554,
    "h": 115.6
  },
  "luminance": 0.13713
}

Semantic roles & 50–950 ramp

primary
#646D18
secondary
#493EA3
accent
#41E752
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646D18

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

Preview Lab → · Contrast checker → · Palette generator →

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