#646E18#646E18

#646E18 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.107 H 116.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#646E18
RGBrgb(100, 110, 24)
HSLhsl(67, 64%, 26%)
HSVhsv(67, 78%, 43%)
CMYKcmyk(9.1%, 0%, 78.2%, 56.9%)
CIE-LABlab(44.13, -15.54, 43.45)
CIE-LCHlch(44.13, 46.14, 109.68°)
OKLaboklab(51.3% -0.0471 0.0958)
OKLCHoklch(51.3% 0.107 116.2)
XYZxyz(10.9966, 13.9273, 2.9729)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E18 #22186E
analogous
#6E4D18 #646E18 #396E18
triadic
#646E18 #18646E #6E1864
tetradic
#646E18 #186E4D #22186E #6E1839
square
#646E18 #186E4D #22186E #6E1839
split-complementary
#646E18 #18396E #4D186E
monochromatic
#171905 #363C0D #646E18 #92A023 #BFD22F

Accessibility & contrast

On white

5.55
#646E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#646E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646E18
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E18#FFFFFF#000000##FFFFFF
##646E181.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766805
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#6B675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646e18;
/* rgb */ color: rgb(100, 110, 24);
/* oklch */ color: oklch(51.3% 0.107 116.2);
Tailwind
colors: {
  custom: {
    50: '#93975c',
    500: '#646e18',
    950: '#000000',
  },
}
SCSS
$custom: #646e18;
$custom-light: #93975c;
$custom-dark: #000000;
JSON
{
  "hex": "#646e18",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 66.977,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51303,
    "c": 0.10675,
    "h": 116.2
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#646E18
secondary
#4A3EA4
accent
#41E754
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646E18

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

Preview Lab → · Contrast checker → · Palette generator →

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