#646118#646118

#646118 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 48.1% C 0.092 H 107.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#646118
RGBrgb(100, 97, 24)
HSLhsl(58, 61%, 24%)
HSVhsv(58, 76%, 39%)
CMYKcmyk(0%, 3%, 76%, 60.8%)
CIE-LABlab(40.12, -8.29, 39.62)
CIE-LCHlch(40.12, 40.48, 101.81°)
OKLaboklab(48.1% -0.0269 0.0877)
OKLCHoklch(48.1% 0.092 107)
XYZxyz(9.6955, 11.3250, 2.5392)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646118 #181B64
analogous
#643B18 #646118 #416418
triadic
#646118 #186461 #611864
tetradic
#646118 #18643B #181B64 #641841
square
#646118 #18643B #181B64 #641841
split-complementary
#646118 #184164 #3B1864
monochromatic
#191806 #33310C #646118 #959124 #C7C130

Accessibility & contrast

On white

6.43
#646118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#646118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646118
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646118#FFFFFF#000000##FFFFFF
##6461181.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0B
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#6C5A53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #646118;
/* rgb */ color: rgb(100, 97, 24);
/* oklch */ color: oklch(48.1% 0.092 107.0);
Tailwind
colors: {
  custom: {
    50: '#938d5b',
    500: '#646118',
    950: '#000000',
  },
}
SCSS
$custom: #646118;
$custom-light: #938d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#646118",
  "rgb": {
    "r": 100,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 57.632,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48097,
    "c": 0.09175,
    "h": 107
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

primary
#646118
secondary
#3E419A
accent
#4AE443
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646118

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

Preview Lab → · Contrast checker → · Palette generator →

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