#646312#646312

#646312 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.5% C 0.098 H 108.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#646312
RGBrgb(100, 99, 18)
HSLhsl(59, 69%, 23%)
HSVhsv(59, 82%, 39%)
CMYKcmyk(0%, 1%, 82%, 60.8%)
CIE-LABlab(40.70, -9.72, 42.40)
CIE-LCHlch(40.70, 43.50, 102.91°)
OKLaboklab(48.55% -0.0315 0.0924)
OKLCHoklch(48.55% 0.098 108.8)
XYZxyz(9.8269, 11.6770, 2.3084)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646312 #121364
analogous
#643A12 #646312 #3C6412
triadic
#646312 #126463 #631264
tetradic
#646312 #12643A #121364 #64123C
square
#646312 #12643A #121364 #64123C
split-complementary
#646312 #123C64 #3A1264
monochromatic
#1A1A05 #303009 #646312 #98961B #CCCA25

Accessibility & contrast

On white

6.30
#646312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#646312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646312
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646312#FFFFFF#000000##FFFFFF
##6463121.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#6C5C54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #646312;
/* rgb */ color: rgb(100, 99, 18);
/* oklch */ color: oklch(48.5% 0.098 108.8);
Tailwind
colors: {
  custom: {
    50: '#938f58',
    500: '#646312',
    950: '#000000',
  },
}
SCSS
$custom: #646312;
$custom-light: #938f58;
$custom-dark: #000000;
JSON
{
  "hex": "#646312",
  "rgb": {
    "r": 100,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 59.268,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48545,
    "c": 0.09761,
    "h": 108.8
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#646312
secondary
#36379C
accent
#3EEC3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646312

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

Preview Lab → · Contrast checker → · Palette generator →

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