#646318#646318

#646318 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.6% C 0.094 H 108.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#646318
RGBrgb(100, 99, 24)
HSLhsl(59, 61%, 24%)
HSVhsv(59, 76%, 39%)
CMYKcmyk(0%, 1%, 76%, 60.8%)
CIE-LABlab(40.73, -9.43, 40.21)
CIE-LCHlch(40.73, 41.30, 103.20°)
OKLaboklab(48.59% -0.0301 0.089)
OKLCHoklch(48.59% 0.094 108.7)
XYZxyz(9.8826, 11.6993, 2.6016)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646318 #181964
analogous
#643D18 #646318 #3F6418
triadic
#646318 #186463 #631864
tetradic
#646318 #18643D #181964 #64183F
square
#646318 #18643D #181964 #64183F
split-complementary
#646318 #183F64 #3D1864
monochromatic
#191806 #33320C #646318 #959424 #C7C530

Accessibility & contrast

On white

6.29
#646318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#646318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646318
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646318#FFFFFF#000000##FFFFFF
##6463181.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0A
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#6C5C54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #646318;
/* rgb */ color: rgb(100, 99, 24);
/* oklch */ color: oklch(48.6% 0.094 108.7);
Tailwind
colors: {
  custom: {
    50: '#938f5b',
    500: '#646318',
    950: '#000000',
  },
}
SCSS
$custom: #646318;
$custom-light: #938f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#646318",
  "rgb": {
    "r": 100,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 59.211,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48585,
    "c": 0.09392,
    "h": 108.7
  },
  "luminance": 0.11699
}

Semantic roles & 50–950 ramp

primary
#646318
secondary
#3E3F9A
accent
#46E443
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646318

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

Preview Lab → · Contrast checker → · Palette generator →

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