#C6B642#C6B642

#C6B642 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.8% C 0.135 H 101.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#C6B642
RGBrgb(198, 182, 66)
HSLhsl(53, 54%, 52%)
HSVhsv(53, 67%, 78%)
CMYKcmyk(0%, 8.1%, 66.7%, 22.4%)
CIE-LABlab(73.45, -7.77, 58.75)
CIE-LCHlch(73.45, 59.27, 97.54°)
OKLaboklab(76.85% -0.0267 0.1323)
OKLCHoklch(76.85% 0.135 101.4)
XYZxyz(41.0017, 45.8568, 11.8447)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B642 #4252C6
analogous
#C67442 #C6B642 #94C642
triadic
#C6B642 #42C6B6 #B642C6
tetradic
#C6B642 #42C674 #4252C6 #C64294
square
#C6B642 #42C674 #4252C6 #C64294
split-complementary
#C6B642 #4294C6 #7442C6
monochromatic
#6D6421 #9C8F2F #C6B642 #D4C871 #E2DAA0

Accessibility & contrast

On white

2.06
#C6B642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#C6B642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B642
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B642#FFFFFF#000000##000000
##C6B6421.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B133
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#D5A99E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c6b642;
/* rgb */ color: rgb(198, 182, 66);
/* oklch */ color: oklch(76.8% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#dbcb7c',
    500: '#c6b642',
    950: '#000000',
  },
}
SCSS
$custom: #c6b642;
$custom-light: #dbcb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b642",
  "rgb": {
    "r": 198,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 52.727,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76849,
    "c": 0.13499,
    "h": 101.4
  },
  "luminance": 0.45855
}

Semantic roles & 50–950 ramp

primary
#C6B642
secondary
#959CCF
accent
#5CDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6B642

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

Preview Lab → · Contrast checker → · Palette generator →

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