#C7BC3A#C7BC3A

#C7BC3A is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.1% C 0.146 H 104.4°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#C7BC3A
RGBrgb(199, 188, 58)
HSLhsl(55, 56%, 50%)
HSVhsv(55, 71%, 78%)
CMYKcmyk(0%, 5.5%, 70.9%, 22%)
CIE-LABlab(75.09, -10.87, 63.56)
CIE-LCHlch(75.09, 64.48, 99.70°)
OKLaboklab(78.15% -0.0363 0.1411)
OKLCHoklch(78.15% 0.146 104.4)
XYZxyz(42.3019, 48.4157, 11.1191)
Luminance0.4841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BC3A #3A45C7
analogous
#C7753A #C7BC3A #8BC73A
triadic
#C7BC3A #3AC7BC #BC3AC7
tetradic
#C7BC3A #3AC775 #3A45C7 #C73A8B
square
#C7BC3A #3AC775 #3A45C7 #C73A8B
split-complementary
#C7BC3A #3A8BC7 #753AC7
monochromatic
#69631E #98902B #C7BC3A #D5CC6A #E2DC99

Accessibility & contrast

On white

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

On black

10.68
#C7BC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BC3A
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BC3A#FFFFFF#000000##000000
##C7BC3A1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB625
Deuteranopia (green-blind)
#D0BC43
Tritanopia (blue-blind)
#D6AFA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bc3a;
/* rgb */ color: rgb(199, 188, 58);
/* oklch */ color: oklch(78.1% 0.146 104.4);
Tailwind
colors: {
  custom: {
    50: '#dccf79',
    500: '#c7bc3a',
    950: '#000000',
  },
}
SCSS
$custom: #c7bc3a;
$custom-light: #dccf79;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bc3a",
  "rgb": {
    "r": 199,
    "g": 188,
    "b": 58
  },
  "hsl": {
    "h": 55.319,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7815,
    "c": 0.14568,
    "h": 104.4
  },
  "luminance": 0.48414
}

Semantic roles & 50–950 ramp

primary
#C7BC3A
secondary
#8F94CE
accent
#54DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C7BC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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