#646212#646212

#646212 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.3% C 0.097 H 108.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#646212
RGBrgb(100, 98, 18)
HSLhsl(59, 69%, 23%)
HSVhsv(59, 82%, 39%)
CMYKcmyk(0%, 2%, 82%, 60.8%)
CIE-LABlab(40.39, -9.15, 42.13)
CIE-LCHlch(40.39, 43.11, 102.25°)
OKLaboklab(48.3% -0.0299 0.0918)
OKLCHoklch(48.3% 0.097 108)
XYZxyz(9.7328, 11.4887, 2.2770)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646212 #121464
analogous
#643912 #646212 #3D6412
triadic
#646212 #126462 #621264
tetradic
#646212 #126439 #121464 #64123D
square
#646212 #126439 #121464 #64123D
split-complementary
#646212 #123D64 #391264
monochromatic
#1A1905 #302F09 #646212 #98951B #CCC825

Accessibility & contrast

On white

6.37
#646212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#646212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646212
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646212#FFFFFF#000000##FFFFFF
##6462121.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6C6019
Tritanopia (blue-blind)
#6C5B53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #646212;
/* rgb */ color: rgb(100, 98, 18);
/* oklch */ color: oklch(48.3% 0.097 108.0);
Tailwind
colors: {
  custom: {
    50: '#938e58',
    500: '#646212',
    950: '#000000',
  },
}
SCSS
$custom: #646212;
$custom-light: #938e58;
$custom-dark: #000000;
JSON
{
  "hex": "#646212",
  "rgb": {
    "r": 100,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 58.537,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.483,
    "c": 0.09655,
    "h": 108
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#646212
secondary
#36389C
accent
#40EC3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646212

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

Preview Lab → · Contrast checker → · Palette generator →

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