#646F27#646F27

#646F27 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.7% C 0.097 H 117.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#646F27
RGBrgb(100, 111, 39)
HSLhsl(69, 48%, 29%)
HSVhsv(69, 65%, 44%)
CMYKcmyk(9.9%, 0%, 64.9%, 56.5%)
CIE-LABlab(44.55, -15.10, 37.54)
CIE-LCHlch(44.55, 40.46, 111.92°)
OKLaboklab(51.68% -0.0443 0.0859)
OKLCHoklch(51.68% 0.097 117.3)
XYZxyz(11.3064, 14.2248, 4.0691)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F27 #32276F
analogous
#6F5627 #646F27 #406F27
triadic
#646F27 #27646F #6F2764
tetradic
#646F27 #276F56 #32276F #6F2740
square
#646F27 #276F56 #32276F #6F2740
split-complementary
#646F27 #27406F #56276F
monochromatic
#141708 #3B4217 #646F27 #8D9C37 #B0C14F

Accessibility & contrast

On white

5.46
#646F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#646F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F27
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F27#FFFFFF#000000##FFFFFF
##646F271.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691E
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#6A6960
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f27;
/* rgb */ color: rgb(100, 111, 39);
/* oklch */ color: oklch(51.7% 0.097 117.3);
Tailwind
colors: {
  custom: {
    50: '#929865',
    500: '#646f27',
    950: '#000000',
  },
}
SCSS
$custom: #646f27;
$custom-light: #929865;
$custom-dark: #000000;
JSON
{
  "hex": "#646f27",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 39
  },
  "hsl": {
    "h": 69.167,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.09667,
    "h": 117.3
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#646F27
secondary
#5D50A2
accent
#50D865
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646F27

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

Preview Lab → · Contrast checker → · Palette generator →

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