#646018#646018

#646018 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.9% C 0.091 H 106.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#646018
RGBrgb(100, 96, 24)
HSLhsl(57, 61%, 24%)
HSVhsv(57, 76%, 39%)
CMYKcmyk(0%, 4%, 76%, 60.8%)
CIE-LABlab(39.82, -7.71, 39.33)
CIE-LCHlch(39.82, 40.08, 101.09°)
OKLaboklab(47.85% -0.0252 0.0871)
OKLCHoklch(47.85% 0.091 106.2)
XYZxyz(9.6037, 11.1414, 2.5086)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646018 #181C64
analogous
#643A18 #646018 #426418
triadic
#646018 #186460 #601864
tetradic
#646018 #18643A #181C64 #641842
square
#646018 #18643A #181C64 #641842
split-complementary
#646018 #184264 #3A1864
monochromatic
#191806 #33310C #646018 #958F24 #C7BF30

Accessibility & contrast

On white

6.51
#646018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#646018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646018
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646018#FFFFFF#000000##FFFFFF
##6460181.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0B
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#6C5952
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #646018;
/* rgb */ color: rgb(100, 96, 24);
/* oklch */ color: oklch(47.9% 0.091 106.2);
Tailwind
colors: {
  custom: {
    50: '#938c5b',
    500: '#646018',
    950: '#000000',
  },
}
SCSS
$custom: #646018;
$custom-light: #938c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#646018",
  "rgb": {
    "r": 100,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 56.842,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47854,
    "c": 0.09068,
    "h": 106.2
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#646018
secondary
#3E429A
accent
#4CE443
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646018

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

Preview Lab → · Contrast checker → · Palette generator →

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