#C7BB2C#C7BB2C

#C7BB2C is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.8% C 0.153 H 104.4°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#C7BB2C
RGBrgb(199, 187, 44)
HSLhsl(55, 64%, 48%)
HSVhsv(55, 78%, 78%)
CMYKcmyk(0%, 6%, 77.9%, 22%)
CIE-LABlab(74.74, -10.95, 67.99)
CIE-LCHlch(74.74, 68.87, 99.15°)
OKLaboklab(77.85% -0.0379 0.1479)
OKLCHoklch(77.85% 0.153 104.4)
XYZxyz(41.7800, 47.8663, 9.4208)
Luminance0.4787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB2C #2C38C7
analogous
#C76E2C #C7BB2C #85C72C
triadic
#C7BB2C #2CC7BB #BB2CC7
tetradic
#C7BB2C #2CC76E #2C38C7 #C72C85
square
#C7BB2C #2CC76E #2C38C7 #C72C85
split-complementary
#C7BB2C #2C85C7 #6E2CC7
monochromatic
#635D16 #958C21 #C7BB2C #DAD056 #E5DE89

Accessibility & contrast

On white

1.99
#C7BB2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#C7BB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB2C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB2C#FFFFFF#000000##000000
##C7BB2C1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB401
Deuteranopia (green-blind)
#D0BB38
Tritanopia (blue-blind)
#D6AEA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7bb2c;
/* rgb */ color: rgb(199, 187, 44);
/* oklch */ color: oklch(77.8% 0.153 104.4);
Tailwind
colors: {
  custom: {
    50: '#dccf72',
    500: '#c7bb2c',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb2c;
$custom-light: #dccf72;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb2c",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 44
  },
  "hsl": {
    "h": 55.355,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7785,
    "c": 0.15267,
    "h": 104.4
  },
  "luminance": 0.47865
}

Semantic roles & 50–950 ramp

primary
#C7BB2C
secondary
#8086CF
accent
#4EE741
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7BB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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