#6D6428#6D6428

#6D6428 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.9% C 0.081 H 100.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6D6428
RGBrgb(109, 100, 40)
HSLhsl(52, 46%, 29%)
HSVhsv(52, 63%, 43%)
CMYKcmyk(0%, 8.3%, 63.3%, 57.3%)
CIE-LABlab(42.03, -4.65, 34.51)
CIE-LCHlch(42.03, 34.83, 97.68°)
OKLaboklab(49.87% -0.0152 0.0794)
OKLCHoklch(49.87% 0.081 100.8)
XYZxyz(11.2473, 12.5192, 3.8311)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6428 #28316D
analogous
#6D4228 #6D6428 #546D28
triadic
#6D6428 #286D64 #64286D
tetradic
#6D6428 #286D42 #28316D #6D2854
square
#6D6428 #286D42 #28316D #6D2854
split-complementary
#6D6428 #28546D #42286D
monochromatic
#161508 #403B18 #6D6428 #9A8D38 #BFB150

Accessibility & contrast

On white

5.99
#6D6428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6D6428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6428
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6428#FFFFFF#000000##FFFFFF
##6D64281.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6121
Deuteranopia (green-blind)
#70652B
Tritanopia (blue-blind)
#755D57
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d6428;
/* rgb */ color: rgb(109, 100, 40);
/* oklch */ color: oklch(49.9% 0.081 100.8);
Tailwind
colors: {
  custom: {
    50: '#998f65',
    500: '#6d6428',
    950: '#000000',
  },
}
SCSS
$custom: #6d6428;
$custom-light: #998f65;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6428",
  "rgb": {
    "r": 109,
    "g": 100,
    "b": 40
  },
  "hsl": {
    "h": 52.174,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49866,
    "c": 0.08088,
    "h": 100.8
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#6D6428
secondary
#515C9F
accent
#63D652
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0E0C06
muted
#7E7D7A

Preview Lab

Preview with #6D6428

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

Preview Lab → · Contrast checker → · Palette generator →

#6D6428 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva