#C6B442#C6B442

#C6B442 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.4% C 0.133 H 100.2°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#C6B442
RGBrgb(198, 180, 66)
HSLhsl(52, 54%, 52%)
HSVhsv(52, 67%, 78%)
CMYKcmyk(0%, 9.1%, 66.7%, 22.4%)
CIE-LABlab(72.92, -6.73, 58.20)
CIE-LCHlch(72.92, 58.59, 96.60°)
OKLaboklab(76.43% -0.0237 0.1312)
OKLCHoklch(76.43% 0.133 100.2)
XYZxyz(40.5951, 45.0434, 11.7091)
Luminance0.4504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B442 #4254C6
analogous
#C67242 #C6B442 #96C642
triadic
#C6B442 #42C6B4 #B442C6
tetradic
#C6B442 #42C672 #4254C6 #C64296
square
#C6B442 #42C672 #4254C6 #C64296
split-complementary
#C6B442 #4296C6 #7242C6
monochromatic
#6D6221 #9C8D2F #C6B442 #D4C771 #E2D9A0

Accessibility & contrast

On white

2.10
#C6B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#C6B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B442
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B442#FFFFFF#000000##000000
##C6B4421.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF33
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#D5A79C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c6b442;
/* rgb */ color: rgb(198, 180, 66);
/* oklch */ color: oklch(76.4% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#dbca7c',
    500: '#c6b442',
    950: '#000000',
  },
}
SCSS
$custom: #c6b442;
$custom-light: #dbca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b442",
  "rgb": {
    "r": 198,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 51.818,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76427,
    "c": 0.13328,
    "h": 100.2
  },
  "luminance": 0.45042
}

Semantic roles & 50–950 ramp

primary
#C6B442
secondary
#959DCF
accent
#5FDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6B442

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

Preview Lab → · Contrast checker → · Palette generator →

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