#646F18#646F18

#646F18 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.6% C 0.108 H 116.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#646F18
RGBrgb(100, 111, 24)
HSLhsl(68, 64%, 26%)
HSVhsv(68, 78%, 44%)
CMYKcmyk(9.9%, 0%, 78.4%, 56.5%)
CIE-LABlab(44.44, -16.08, 43.74)
CIE-LCHlch(44.44, 46.60, 110.18°)
OKLaboklab(51.55% -0.0486 0.0964)
OKLCHoklch(51.55% 0.108 116.7)
XYZxyz(11.1051, 14.1443, 3.0091)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F18 #23186F
analogous
#6F4F18 #646F18 #396F18
triadic
#646F18 #18646F #6F1864
tetradic
#646F18 #186F4F #23186F #6F1839
square
#646F18 #186F4F #23186F #6F1839
split-complementary
#646F18 #18396F #4F186F
monochromatic
#171905 #373D0D #646F18 #91A123 #BED22F

Accessibility & contrast

On white

5.48
#646F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#646F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F18
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F18#FFFFFF#000000##FFFFFF
##646F181.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776905
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#6B685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f18;
/* rgb */ color: rgb(100, 111, 24);
/* oklch */ color: oklch(51.6% 0.108 116.7);
Tailwind
colors: {
  custom: {
    50: '#93985d',
    500: '#646f18',
    950: '#000000',
  },
}
SCSS
$custom: #646f18;
$custom-light: #93985d;
$custom-dark: #000000;
JSON
{
  "hex": "#646f18",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 67.586,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.10796,
    "h": 116.7
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

primary
#646F18
secondary
#4B3EA5
accent
#40E755
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646F18

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

Preview Lab → · Contrast checker → · Palette generator →

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