#646338#646338

#646338 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 49.0% C 0.062 H 107.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#646338
RGBrgb(100, 99, 56)
HSLhsl(59, 28%, 31%)
HSVhsv(59, 44%, 39%)
CMYKcmyk(0%, 1%, 44%, 60.8%)
CIE-LABlab(41.09, -6.67, 24.53)
CIE-LCHlch(41.09, 25.42, 105.22°)
OKLaboklab(48.98% -0.0185 0.0594)
OKLCHoklch(48.98% 0.062 107.3)
XYZxyz(10.4314, 11.9188, 5.4917)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646338 #383964
analogous
#644D38 #646338 #4F6438
triadic
#646338 #386463 #633864
tetradic
#646338 #38644D #383964 #64384F
square
#646338 #38644D #383964 #64384F
split-complementary
#646338 #384F64 #4D3864
monochromatic
#16150C #3D3C22 #646338 #8B8A4E #ACAA6B

Accessibility & contrast

On white

6.21
#646338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#646338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646338
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646338#FFFFFF#000000##FFFFFF
##6463381.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696035
Deuteranopia (green-blind)
#6A623A
Tritanopia (blue-blind)
#6A5E59
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #646338;
/* rgb */ color: rgb(100, 99, 56);
/* oklch */ color: oklch(49.0% 0.062 107.3);
Tailwind
colors: {
  custom: {
    50: '#918f6f',
    500: '#646338',
    950: '#000000',
  },
}
SCSS
$custom: #646338;
$custom-light: #918f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#646338",
  "rgb": {
    "r": 100,
    "g": 99,
    "b": 56
  },
  "hsl": {
    "h": 58.636,
    "s": 28.205,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48979,
    "c": 0.06226,
    "h": 107.3
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#646338
secondary
#636594
accent
#66C563
background
#F9F8F6
surface
#F1F0EC
border
#CBCBC7
text
#0D0C07
muted
#7E7D7A

Preview Lab

Preview with #646338

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

Preview Lab → · Contrast checker → · Palette generator →

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