#646213#646213

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

Color values

HEX#646213
RGBrgb(100, 98, 19)
HSLhsl(59, 68%, 23%)
HSVhsv(59, 81%, 39%)
CMYKcmyk(0%, 2%, 81%, 60.8%)
CIE-LABlab(40.40, -9.10, 41.78)
CIE-LCHlch(40.40, 42.76, 102.29°)
OKLaboklab(48.31% -0.0297 0.0913)
OKLCHoklch(48.31% 0.096 108)
XYZxyz(9.7411, 11.4920, 2.3210)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646213 #131564
analogous
#643913 #646213 #3D6413
triadic
#646213 #136462 #621364
tetradic
#646213 #136439 #131564 #64133D
square
#646213 #136439 #131564 #64133D
split-complementary
#646213 #133D64 #391364
monochromatic
#1A1905 #313009 #646213 #97941D #CBC727

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646213#FFFFFF#000000##FFFFFF
##6462131.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)
#6B5E02
Deuteranopia (green-blind)
#6C601A
Tritanopia (blue-blind)
#6C5B53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #646213;
/* rgb */ color: rgb(100, 98, 19);
/* oklch */ color: oklch(48.3% 0.096 108.0);
Tailwind
colors: {
  custom: {
    50: '#938e58',
    500: '#646213',
    950: '#000000',
  },
}
SCSS
$custom: #646213;
$custom-light: #938e58;
$custom-dark: #000000;
JSON
{
  "hex": "#646213",
  "rgb": {
    "r": 100,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 58.519,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48306,
    "c": 0.09598,
    "h": 108
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

primary
#646213
secondary
#373A9C
accent
#41EB3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646213

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

Preview Lab → · Contrast checker → · Palette generator →

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