#646928#646928

#646928 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.2% C 0.088 H 113.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#646928
RGBrgb(100, 105, 40)
HSLhsl(65, 45%, 28%)
HSVhsv(65, 62%, 41%)
CMYKcmyk(4.8%, 0%, 61.9%, 58.8%)
CIE-LABlab(42.71, -11.71, 35.04)
CIE-LCHlch(42.71, 36.94, 108.49°)
OKLaboklab(50.21% -0.0347 0.0808)
OKLCHoklch(50.21% 0.088 113.2)
XYZxyz(10.6904, 12.9659, 3.9466)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646928 #2D2869
analogous
#694D28 #646928 #436928
triadic
#646928 #286469 #692864
tetradic
#646928 #28694D #2D2869 #692843
square
#646928 #28694D #2D2869 #692843
split-complementary
#646928 #284369 #4D2869
monochromatic
#151608 #3A3D17 #646928 #8E9539 #B4BC4F

Accessibility & contrast

On white

5.84
#646928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#646928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646928
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646928#FFFFFF#000000##FFFFFF
##6469281.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716421
Deuteranopia (green-blind)
#70662C
Tritanopia (blue-blind)
#6A635B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646928;
/* rgb */ color: rgb(100, 105, 40);
/* oklch */ color: oklch(50.2% 0.088 113.2);
Tailwind
colors: {
  custom: {
    50: '#929365',
    500: '#646928',
    950: '#000000',
  },
}
SCSS
$custom: #646928;
$custom-light: #929365;
$custom-dark: #000000;
JSON
{
  "hex": "#646928",
  "rgb": {
    "r": 100,
    "g": 105,
    "b": 40
  },
  "hsl": {
    "h": 64.615,
    "s": 44.828,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50209,
    "c": 0.0879,
    "h": 113.2
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#646928
secondary
#57519C
accent
#53D55D
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646928

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

Preview Lab → · Contrast checker → · Palette generator →

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