#646412#646412

#646412 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.8% C 0.099 H 109.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#646412
RGBrgb(100, 100, 18)
HSLhsl(60, 69%, 23%)
HSVhsv(60, 82%, 39%)
CMYKcmyk(0%, 0%, 82%, 60.8%)
CIE-LABlab(41.00, -10.28, 42.68)
CIE-LCHlch(41.00, 43.90, 103.54°)
OKLaboklab(48.79% -0.033 0.093)
OKLCHoklch(48.79% 0.099 109.6)
XYZxyz(9.9223, 11.8676, 2.3402)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646412 #121264
analogous
#643B12 #646412 #3B6412
triadic
#646412 #126464 #641264
tetradic
#646412 #12643B #121264 #64123B
square
#646412 #12643B #121264 #64123B
split-complementary
#646412 #123B64 #3B1264
monochromatic
#1A1A05 #303009 #646412 #98981B #CCCC25

Accessibility & contrast

On white

6.23
#646412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#646412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646412
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646412#FFFFFF#000000##FFFFFF
##6464121.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#6C5D55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #646412;
/* rgb */ color: rgb(100, 100, 18);
/* oklch */ color: oklch(48.8% 0.099 109.6);
Tailwind
colors: {
  custom: {
    50: '#938f58',
    500: '#646412',
    950: '#000000',
  },
}
SCSS
$custom: #646412;
$custom-light: #938f58;
$custom-dark: #000000;
JSON
{
  "hex": "#646412",
  "rgb": {
    "r": 100,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4879,
    "c": 0.09869,
    "h": 109.6
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#646412
secondary
#36369C
accent
#3BEC3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646412

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

Preview Lab → · Contrast checker → · Palette generator →

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