#646112#646112

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

Color values

HEX#646112
RGBrgb(100, 97, 18)
HSLhsl(58, 69%, 23%)
HSVhsv(58, 82%, 39%)
CMYKcmyk(0%, 3%, 82%, 60.8%)
CIE-LABlab(40.09, -8.57, 41.85)
CIE-LCHlch(40.09, 42.72, 101.58°)
OKLaboklab(48.06% -0.0283 0.0912)
OKLCHoklch(48.06% 0.096 107.2)
XYZxyz(9.6398, 11.3027, 2.2460)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646112 #121564
analogous
#643812 #646112 #3E6412
triadic
#646112 #126461 #611264
tetradic
#646112 #126438 #121564 #64123E
square
#646112 #126438 #121564 #64123E
split-complementary
#646112 #123E64 #381264
monochromatic
#1A1905 #302F09 #646112 #98931B #CCC625

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646112#FFFFFF#000000##FFFFFF
##6461121.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)
#6A5D00
Deuteranopia (green-blind)
#6B6019
Tritanopia (blue-blind)
#6C5A52
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #646112;
/* rgb */ color: rgb(100, 97, 18);
/* oklch */ color: oklch(48.1% 0.096 107.2);
Tailwind
colors: {
  custom: {
    50: '#938d58',
    500: '#646112',
    950: '#000000',
  },
}
SCSS
$custom: #646112;
$custom-light: #938d58;
$custom-dark: #000000;
JSON
{
  "hex": "#646112",
  "rgb": {
    "r": 100,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 57.805,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48056,
    "c": 0.0955,
    "h": 107.2
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#646112
secondary
#363A9C
accent
#42EC3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646112

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

Preview Lab → · Contrast checker → · Palette generator →

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