#C6B540#C6B540

#C6B540 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.6% C 0.136 H 100.9°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#C6B540
RGBrgb(198, 181, 64)
HSLhsl(52, 54%, 51%)
HSVhsv(52, 68%, 78%)
CMYKcmyk(0%, 8.6%, 67.7%, 22.4%)
CIE-LABlab(73.17, -7.37, 59.28)
CIE-LCHlch(73.17, 59.74, 97.09°)
OKLaboklab(76.62% -0.0257 0.1331)
OKLCHoklch(76.62% 0.136 100.9)
XYZxyz(40.7397, 45.4255, 11.4716)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B540 #4051C6
analogous
#C67240 #C6B540 #94C640
triadic
#C6B540 #40C6B5 #B540C6
tetradic
#C6B540 #40C672 #4051C6 #C64094
square
#C6B540 #40C672 #4051C6 #C64094
split-complementary
#C6B540 #4094C6 #7240C6
monochromatic
#6C6220 #9B8D2E #C6B540 #D4C76F #E2DA9E

Accessibility & contrast

On white

2.08
#C6B540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#C6B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B540
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B540#FFFFFF#000000##000000
##C6B5401.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#CAB747
Tritanopia (blue-blind)
#D5A89D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c6b540;
/* rgb */ color: rgb(198, 181, 64);
/* oklch */ color: oklch(76.6% 0.136 100.9);
Tailwind
colors: {
  custom: {
    50: '#dbca7b',
    500: '#c6b540',
    950: '#000000',
  },
}
SCSS
$custom: #c6b540;
$custom-light: #dbca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b540",
  "rgb": {
    "r": 198,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 52.388,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76621,
    "c": 0.13557,
    "h": 100.9
  },
  "luminance": 0.45424
}

Semantic roles & 50–950 ramp

primary
#C6B540
secondary
#939BCE
accent
#5DDD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6B540

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

Preview Lab → · Contrast checker → · Palette generator →

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