#646012#646012

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

Color values

HEX#646012
RGBrgb(100, 96, 18)
HSLhsl(57, 69%, 23%)
HSVhsv(57, 82%, 39%)
CMYKcmyk(0%, 4%, 82%, 60.8%)
CIE-LABlab(39.78, -8.00, 41.57)
CIE-LCHlch(39.78, 42.34, 100.89°)
OKLaboklab(47.81% -0.0267 0.0906)
OKLCHoklch(47.81% 0.094 106.4)
XYZxyz(9.5480, 11.1191, 2.2154)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646012 #121664
analogous
#643712 #646012 #3F6412
triadic
#646012 #126460 #601264
tetradic
#646012 #126437 #121664 #64123F
square
#646012 #126437 #121664 #64123F
split-complementary
#646012 #123F64 #371264
monochromatic
#1A1905 #302E09 #646012 #98921B #CCC425

Accessibility & contrast

On white

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

On black

3.22
#646012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##646012#FFFFFF#000000##FFFFFF
##6460121.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C01
Deuteranopia (green-blind)
#6B5F18
Tritanopia (blue-blind)
#6C5951
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #646012;
/* rgb */ color: rgb(100, 96, 18);
/* oklch */ color: oklch(47.8% 0.094 106.4);
Tailwind
colors: {
  custom: {
    50: '#938c58',
    500: '#646012',
    950: '#000000',
  },
}
SCSS
$custom: #646012;
$custom-light: #938c58;
$custom-dark: #000000;
JSON
{
  "hex": "#646012",
  "rgb": {
    "r": 100,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 57.073,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47812,
    "c": 0.09448,
    "h": 106.4
  },
  "luminance": 0.11119
}

Semantic roles & 50–950 ramp

primary
#646012
secondary
#363B9C
accent
#44EC3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #646012

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

Preview Lab → · Contrast checker → · Palette generator →

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