#C7BC54#C7BC54

#C7BC54 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.4% C 0.126 H 103.3°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#C7BC54
RGBrgb(199, 188, 84)
HSLhsl(54, 51%, 55%)
HSVhsv(54, 58%, 78%)
CMYKcmyk(0%, 5.5%, 57.8%, 22%)
CIE-LABlab(75.30, -9.27, 52.93)
CIE-LCHlch(75.30, 53.73, 99.93°)
OKLaboklab(78.38% -0.0289 0.1225)
OKLCHoklch(78.38% 0.126 103.3)
XYZxyz(43.1381, 48.7502, 15.5232)
Luminance0.4875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BC54 #545FC7
analogous
#C78254 #C7BC54 #98C754
triadic
#C7BC54 #54C7BC #BC54C7
tetradic
#C7BC54 #54C782 #545FC7 #C75498
square
#C7BC54 #54C782 #545FC7 #C75498
split-complementary
#C7BC54 #5498C7 #8254C7
monochromatic
#797128 #A79C37 #C7BC54 #D6CE82 #E5E0B0

Accessibility & contrast

On white

1.95
#C7BC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#C7BC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BC54
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BC54#FFFFFF#000000##000000
##C7BC541.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB649
Deuteranopia (green-blind)
#CFBC59
Tritanopia (blue-blind)
#D5B0A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bc54;
/* rgb */ color: rgb(199, 188, 84);
/* oklch */ color: oklch(78.4% 0.126 103.3);
Tailwind
colors: {
  custom: {
    50: '#dbcf88',
    500: '#c7bc54',
    950: '#000000',
  },
}
SCSS
$custom: #c7bc54;
$custom-light: #dbcf88;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bc54",
  "rgb": {
    "r": 199,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 54.261,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78384,
    "c": 0.12586,
    "h": 103.3
  },
  "luminance": 0.48749
}

Semantic roles & 50–950 ramp

primary
#C7BC54
secondary
#A3A8D3
accent
#5BDA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C7BC54

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

Preview Lab → · Contrast checker → · Palette generator →

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