#C7BB3B#C7BB3B

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

Color values

HEX#C7BB3B
RGBrgb(199, 187, 59)
HSLhsl(55, 56%, 51%)
HSVhsv(55, 70%, 78%)
CMYKcmyk(0%, 6%, 70.4%, 22%)
CIE-LABlab(74.83, -10.30, 62.93)
CIE-LCHlch(74.83, 63.77, 99.30°)
OKLaboklab(77.94% -0.0346 0.1399)
OKLCHoklch(77.94% 0.144 103.9)
XYZxyz(42.1147, 48.0002, 11.1834)
Luminance0.4800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB3B #3B47C7
analogous
#C7753B #C7BB3B #8DC73B
triadic
#C7BB3B #3BC7BB #BB3BC7
tetradic
#C7BB3B #3BC775 #3B47C7 #C73B8D
square
#C7BB3B #3BC775 #3B47C7 #C73B8D
split-complementary
#C7BB3B #3B8DC7 #753BC7
monochromatic
#69631E #99902C #C7BB3B #D5CC6B #E2DC9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BB3B#FFFFFF#000000##000000
##C7BB3B1.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)
#CCB527
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#D6AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7bb3b;
/* rgb */ color: rgb(199, 187, 59);
/* oklch */ color: oklch(77.9% 0.144 103.9);
Tailwind
colors: {
  custom: {
    50: '#dccf79',
    500: '#c7bb3b',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb3b;
$custom-light: #dccf79;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb3b",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 59
  },
  "hsl": {
    "h": 54.857,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77945,
    "c": 0.14415,
    "h": 103.9
  },
  "luminance": 0.47999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7BB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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