#646115#646115

#646115 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 48.1% C 0.094 H 107.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#646115
RGBrgb(100, 97, 21)
HSLhsl(58, 65%, 24%)
HSVhsv(58, 79%, 39%)
CMYKcmyk(0%, 3%, 79%, 60.8%)
CIE-LABlab(40.10, -8.44, 40.78)
CIE-LCHlch(40.10, 41.64, 101.69°)
OKLaboklab(48.08% -0.0276 0.0896)
OKLCHoklch(48.08% 0.094 107.1)
XYZxyz(9.6660, 11.3132, 2.3838)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646115 #151864
analogous
#643915 #646115 #3F6415
triadic
#646115 #156461 #611564
tetradic
#646115 #156439 #151864 #64153F
square
#646115 #156439 #151864 #64153F
split-complementary
#646115 #153F64 #391564
monochromatic
#191905 #31300A #646115 #979220 #C9C32A

Accessibility & contrast

On white

6.44
#646115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#646115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646115
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646115#FFFFFF#000000##FFFFFF
##6461151.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D05
Deuteranopia (green-blind)
#6B601B
Tritanopia (blue-blind)
#6C5A53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #646115;
/* rgb */ color: rgb(100, 97, 21);
/* oklch */ color: oklch(48.1% 0.094 107.1);
Tailwind
colors: {
  custom: {
    50: '#938d59',
    500: '#646115',
    950: '#000000',
  },
}
SCSS
$custom: #646115;
$custom-light: #938d59;
$custom-dark: #000000;
JSON
{
  "hex": "#646115",
  "rgb": {
    "r": 100,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 57.722,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.09373,
    "h": 107.1
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#646115
secondary
#3A3D9B
accent
#46E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646115

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

Preview Lab → · Contrast checker → · Palette generator →

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