#646311#646311

#646311 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.5% C 0.098 H 108.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#646311
RGBrgb(100, 99, 17)
HSLhsl(59, 71%, 23%)
HSVhsv(59, 83%, 39%)
CMYKcmyk(0%, 1%, 83%, 60.8%)
CIE-LABlab(40.69, -9.76, 42.73)
CIE-LCHlch(40.69, 43.83, 102.86°)
OKLaboklab(48.54% -0.0317 0.0929)
OKLCHoklch(48.54% 0.098 108.8)
XYZxyz(9.8189, 11.6738, 2.2662)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646311 #111264
analogous
#643911 #646311 #3B6411
triadic
#646311 #116463 #631164
tetradic
#646311 #116439 #111264 #64113B
square
#646311 #116439 #111264 #64113B
split-complementary
#646311 #113B64 #391164
monochromatic
#1A1A04 #302F08 #646311 #98971A #CDCB23

Accessibility & contrast

On white

6.30
#646311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#646311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646311
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646311#FFFFFF#000000##FFFFFF
##6463111.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646311;
/* rgb */ color: rgb(100, 99, 17);
/* oklch */ color: oklch(48.5% 0.098 108.8);
Tailwind
colors: {
  custom: {
    50: '#938f58',
    500: '#646311',
    950: '#000000',
  },
}
SCSS
$custom: #646311;
$custom-light: #938f58;
$custom-dark: #000000;
JSON
{
  "hex": "#646311",
  "rgb": {
    "r": 100,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 59.277,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48539,
    "c": 0.09815,
    "h": 108.8
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#646311
secondary
#35369C
accent
#3CEE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646311

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

Preview Lab → · Contrast checker → · Palette generator →

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