#C7BC34#C7BC34

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

Color values

HEX#C7BC34
RGBrgb(199, 188, 52)
HSLhsl(56, 59%, 49%)
HSVhsv(56, 74%, 78%)
CMYKcmyk(0%, 5.5%, 73.9%, 22%)
CIE-LABlab(75.05, -11.14, 65.67)
CIE-LCHlch(75.05, 66.61, 99.63°)
OKLaboklab(78.11% -0.0377 0.1445)
OKLCHoklch(78.11% 0.149 104.6)
XYZxyz(42.1580, 48.3582, 10.3615)
Luminance0.4836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BC34 #343FC7
analogous
#C77334 #C7BC34 #89C734
triadic
#C7BC34 #34C7BC #BC34C7
tetradic
#C7BC34 #34C773 #343FC7 #C73489
square
#C7BC34 #34C773 #343FC7 #C73489
split-complementary
#C7BC34 #3489C7 #7334C7
monochromatic
#66601B #968E27 #C7BC34 #D6CD62 #E3DD93

Accessibility & contrast

On white

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

On black

10.67
#C7BC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BC34
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BC34#FFFFFF#000000##000000
##C7BC341.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7bc34;
/* rgb */ color: rgb(199, 188, 52);
/* oklch */ color: oklch(78.1% 0.149 104.6);
Tailwind
colors: {
  custom: {
    50: '#dccf75',
    500: '#c7bc34',
    950: '#000000',
  },
}
SCSS
$custom: #c7bc34;
$custom-light: #dccf75;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bc34",
  "rgb": {
    "r": 199,
    "g": 188,
    "b": 52
  },
  "hsl": {
    "h": 55.51,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7811,
    "c": 0.14931,
    "h": 104.6
  },
  "luminance": 0.48356
}

Semantic roles & 50–950 ramp

primary
#C7BC34
secondary
#898ECE
accent
#52E246
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C7BC34

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

Preview Lab → · Contrast checker → · Palette generator →

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