#C7BC2C#C7BC2C

#C7BC2C is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.1% C 0.154 H 104.8°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#C7BC2C
RGBrgb(199, 188, 44)
HSLhsl(56, 64%, 48%)
HSVhsv(56, 78%, 78%)
CMYKcmyk(0%, 5.5%, 77.9%, 22%)
CIE-LABlab(75.01, -11.46, 68.23)
CIE-LCHlch(75.01, 69.19, 99.54°)
OKLaboklab(78.06% -0.0393 0.1484)
OKLCHoklch(78.06% 0.154 104.8)
XYZxyz(41.9929, 48.2921, 9.4917)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BC2C #2C37C7
analogous
#C76F2C #C7BC2C #84C72C
triadic
#C7BC2C #2CC7BC #BC2CC7
tetradic
#C7BC2C #2CC76F #2C37C7 #C72C84
square
#C7BC2C #2CC76F #2C37C7 #C72C84
split-complementary
#C7BC2C #2C84C7 #6F2CC7
monochromatic
#635D16 #958D21 #C7BC2C #DAD056 #E5DE89

Accessibility & contrast

On white

1.97
#C7BC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#C7BC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BC2C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BC2C#FFFFFF#000000##000000
##C7BC2C1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#D1BB38
Tritanopia (blue-blind)
#D6AFA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bc2c;
/* rgb */ color: rgb(199, 188, 44);
/* oklch */ color: oklch(78.1% 0.154 104.8);
Tailwind
colors: {
  custom: {
    50: '#dccf72',
    500: '#c7bc2c',
    950: '#000000',
  },
}
SCSS
$custom: #c7bc2c;
$custom-light: #dccf72;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bc2c",
  "rgb": {
    "r": 199,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 55.742,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78064,
    "c": 0.15353,
    "h": 104.8
  },
  "luminance": 0.4829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7BC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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