#646F12#646F12

#646F12 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.5% C 0.111 H 116.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#646F12
RGBrgb(100, 111, 18)
HSLhsl(67, 72%, 25%)
HSVhsv(67, 84%, 44%)
CMYKcmyk(9.9%, 0%, 83.8%, 56.5%)
CIE-LABlab(44.41, -16.35, 45.71)
CIE-LCHlch(44.41, 48.55, 109.68°)
OKLaboklab(51.52% -0.0498 0.0995)
OKLCHoklch(51.52% 0.111 116.6)
XYZxyz(11.0495, 14.1220, 2.7159)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F12 #1D126F
analogous
#6F4B12 #646F12 #356F12
triadic
#646F12 #12646F #6F1264
tetradic
#646F12 #126F4B #1D126F #6F1235
square
#646F12 #126F4B #1D126F #6F1235
split-complementary
#646F12 #12356F #4B126F
monochromatic
#181A04 #353A09 #646F12 #93A41B #C3D823

Accessibility & contrast

On white

5.49
#646F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#646F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F12
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F12#FFFFFF#000000##FFFFFF
##646F121.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#766A1B
Tritanopia (blue-blind)
#6B685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f12;
/* rgb */ color: rgb(100, 111, 18);
/* oklch */ color: oklch(51.5% 0.111 116.6);
Tailwind
colors: {
  custom: {
    50: '#93985a',
    500: '#646f12',
    950: '#000000',
  },
}
SCSS
$custom: #646f12;
$custom-light: #93985a;
$custom-dark: #000000;
JSON
{
  "hex": "#646f12",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 67.097,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51517,
    "c": 0.11126,
    "h": 116.6
  },
  "luminance": 0.14122
}

Semantic roles & 50–950 ramp

primary
#646F12
secondary
#4437A6
accent
#39EF4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646F12

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

Preview Lab → · Contrast checker → · Palette generator →

#646F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva