#646123#646123

#646123 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.2% C 0.083 H 106.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#646123
RGBrgb(100, 97, 35)
HSLhsl(57, 48%, 26%)
HSVhsv(57, 65%, 39%)
CMYKcmyk(0%, 3%, 65%, 60.8%)
CIE-LABlab(40.21, -7.57, 34.76)
CIE-LCHlch(40.21, 35.58, 102.29°)
OKLaboklab(48.2% -0.0235 0.0795)
OKLCHoklch(48.2% 0.083 106.5)
XYZxyz(9.8339, 11.3804, 3.2684)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646123 #232664
analogous
#644123 #646123 #476423
triadic
#646123 #236461 #612364
tetradic
#646123 #236441 #232664 #642347
square
#646123 #236441 #232664 #642347
split-complementary
#646123 #234764 #412364
monochromatic
#171608 #373513 #646123 #918D33 #BEB844

Accessibility & contrast

On white

6.41
#646123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#646123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646123
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646123#FFFFFF#000000##FFFFFF
##6461231.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1C
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#6B5B54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #646123;
/* rgb */ color: rgb(100, 97, 35);
/* oklch */ color: oklch(48.2% 0.083 106.5);
Tailwind
colors: {
  custom: {
    50: '#928d61',
    500: '#646123',
    950: '#000000',
  },
}
SCSS
$custom: #646123;
$custom-light: #928d61;
$custom-dark: #000000;
JSON
{
  "hex": "#646123",
  "rgb": {
    "r": 100,
    "g": 97,
    "b": 35
  },
  "hsl": {
    "h": 57.231,
    "s": 48.148,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48199,
    "c": 0.08286,
    "h": 106.5
  },
  "luminance": 0.1138
}

Semantic roles & 50–950 ramp

primary
#646123
secondary
#4B4F98
accent
#56D850
background
#F9F8F5
surface
#F1F0EA
border
#CBCBC6
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #646123

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

Preview Lab → · Contrast checker → · Palette generator →

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