#C7BC3E#C7BC3E

#C7BC3E is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.2% C 0.143 H 104.3°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#C7BC3E
RGBrgb(199, 188, 62)
HSLhsl(55, 55%, 51%)
HSVhsv(55, 69%, 78%)
CMYKcmyk(0%, 5.5%, 68.8%, 22%)
CIE-LABlab(75.11, -10.66, 62.07)
CIE-LCHlch(75.11, 62.98, 99.75°)
OKLaboklab(78.18% -0.0353 0.1386)
OKLCHoklch(78.18% 0.143 104.3)
XYZxyz(42.4076, 48.4580, 11.6760)
Luminance0.4846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BC3E #3E49C7
analogous
#C7773E #C7BC3E #8DC73E
triadic
#C7BC3E #3EC7BC #BC3EC7
tetradic
#C7BC3E #3EC777 #3E49C7 #C73E8D
square
#C7BC3E #3EC777 #3E49C7 #C73E8D
split-complementary
#C7BC3E #3E8DC7 #773EC7
monochromatic
#6B651F #9B922D #C7BC3E #D5CC6D #E3DD9D

Accessibility & contrast

On white

1.96
#C7BC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#C7BC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BC3E
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BC3E#FFFFFF#000000##000000
##C7BC3E1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB62B
Deuteranopia (green-blind)
#D0BC46
Tritanopia (blue-blind)
#D6AFA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bc3e;
/* rgb */ color: rgb(199, 188, 62);
/* oklch */ color: oklch(78.2% 0.143 104.3);
Tailwind
colors: {
  custom: {
    50: '#dbcf7b',
    500: '#c7bc3e',
    950: '#000000',
  },
}
SCSS
$custom: #c7bc3e;
$custom-light: #dbcf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bc3e",
  "rgb": {
    "r": 199,
    "g": 188,
    "b": 62
  },
  "hsl": {
    "h": 55.182,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7818,
    "c": 0.14307,
    "h": 104.3
  },
  "luminance": 0.48456
}

Semantic roles & 50–950 ramp

primary
#C7BC3E
secondary
#9297CF
accent
#55DE49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7BC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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