#C6BB40#C6BB40

#C6BB40 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.9% C 0.141 H 104.2°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#C6BB40
RGBrgb(198, 187, 64)
HSLhsl(55, 54%, 51%)
HSVhsv(55, 68%, 78%)
CMYKcmyk(0%, 5.6%, 67.7%, 22.4%)
CIE-LABlab(74.77, -10.47, 60.92)
CIE-LCHlch(74.77, 61.81, 99.75°)
OKLaboklab(77.89% -0.0345 0.1366)
OKLCHoklch(77.89% 0.141 104.2)
XYZxyz(41.9861, 47.9182, 11.8870)
Luminance0.4792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BB40 #404BC6
analogous
#C67840 #C6BB40 #8EC640
triadic
#C6BB40 #40C6BB #BB40C6
tetradic
#C6BB40 #40C678 #404BC6 #C6408E
square
#C6BB40 #40C678 #404BC6 #C6408E
split-complementary
#C6BB40 #408EC6 #7840C6
monochromatic
#6C6520 #9B922E #C6BB40 #D4CC6F #E2DD9E

Accessibility & contrast

On white

1.98
#C6BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#C6BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BB40
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BB40#FFFFFF#000000##000000
##C6BB401.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#CFBB48
Tritanopia (blue-blind)
#D4AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c6bb40;
/* rgb */ color: rgb(198, 187, 64);
/* oklch */ color: oklch(77.9% 0.141 104.2);
Tailwind
colors: {
  custom: {
    50: '#dbcf7c',
    500: '#c6bb40',
    950: '#000000',
  },
}
SCSS
$custom: #c6bb40;
$custom-light: #dbcf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6bb40",
  "rgb": {
    "r": 198,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 55.075,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77894,
    "c": 0.14087,
    "h": 104.2
  },
  "luminance": 0.47917
}

Semantic roles & 50–950 ramp

primary
#C6BB40
secondary
#9398CE
accent
#56DD4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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