#C7BB40#C7BB40

#C7BB40 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.0% C 0.141 H 103.7°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#C7BB40
RGBrgb(199, 187, 64)
HSLhsl(55, 55%, 52%)
HSVhsv(55, 68%, 78%)
CMYKcmyk(0%, 6%, 67.8%, 22%)
CIE-LABlab(74.86, -10.04, 61.03)
CIE-LCHlch(74.86, 61.85, 99.34°)
OKLaboklab(77.98% -0.0334 0.1368)
OKLCHoklch(77.98% 0.141 103.7)
XYZxyz(42.2506, 48.0546, 11.8994)
Luminance0.4805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB40 #404CC7
analogous
#C77840 #C7BB40 #90C740
triadic
#C7BB40 #40C7BB #BB40C7
tetradic
#C7BB40 #40C778 #404CC7 #C74090
square
#C7BB40 #40C778 #404CC7 #C74090
split-complementary
#C7BB40 #4090C7 #7840C7
monochromatic
#6D6620 #9C922E #C7BB40 #D5CC6F #E3DD9F

Accessibility & contrast

On white

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

On black

10.61
#C7BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB40
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB40#FFFFFF#000000##000000
##C7BB401.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7bb40;
/* rgb */ color: rgb(199, 187, 64);
/* oklch */ color: oklch(78.0% 0.141 103.7);
Tailwind
colors: {
  custom: {
    50: '#dbcf7c',
    500: '#c7bb40',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb40;
$custom-light: #dbcf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb40",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 54.667,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77983,
    "c": 0.14079,
    "h": 103.7
  },
  "luminance": 0.48053
}

Semantic roles & 50–950 ramp

primary
#C7BB40
secondary
#9499CF
accent
#57DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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