#C7BB3C#C7BB3C

#C7BB3C is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.0% C 0.143 H 103.9°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#C7BB3C
RGBrgb(199, 187, 60)
HSLhsl(55, 55%, 51%)
HSVhsv(55, 70%, 78%)
CMYKcmyk(0%, 6%, 69.8%, 22%)
CIE-LABlab(74.83, -10.25, 62.56)
CIE-LCHlch(74.83, 63.39, 99.31°)
OKLaboklab(77.95% -0.0344 0.1393)
OKLCHoklch(77.95% 0.144 103.9)
XYZxyz(42.1409, 48.0107, 11.3213)
Luminance0.4801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB3C #3C48C7
analogous
#C7753C #C7BB3C #8DC73C
triadic
#C7BB3C #3CC7BB #BB3CC7
tetradic
#C7BB3C #3CC775 #3C48C7 #C73C8D
square
#C7BB3C #3CC775 #3C48C7 #C73C8D
split-complementary
#C7BB3C #3C8DC7 #753CC7
monochromatic
#6A641E #9A902C #C7BB3C #D5CC6C #E2DC9B

Accessibility & contrast

On white

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

On black

10.60
#C7BB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB3C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB3C#FFFFFF#000000##000000
##C7BB3C1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7bb3c;
/* rgb */ color: rgb(199, 187, 60);
/* oklch */ color: oklch(78.0% 0.143 103.9);
Tailwind
colors: {
  custom: {
    50: '#dccf79',
    500: '#c7bb3c',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb3c;
$custom-light: #dccf79;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb3c",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 60
  },
  "hsl": {
    "h": 54.82,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77952,
    "c": 0.1435,
    "h": 103.9
  },
  "luminance": 0.48009
}

Semantic roles & 50–950 ramp

primary
#C7BB3C
secondary
#9196CE
accent
#56DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7BB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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