#C7BD42#C7BD42

#C7BD42 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.4% C 0.141 H 104.7°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#C7BD42
RGBrgb(199, 189, 66)
HSLhsl(55, 54%, 52%)
HSVhsv(55, 67%, 78%)
CMYKcmyk(0%, 5%, 66.8%, 22%)
CIE-LABlab(75.41, -10.96, 60.80)
CIE-LCHlch(75.41, 61.78, 100.22°)
OKLaboklab(78.43% -0.0357 0.1366)
OKLCHoklch(78.43% 0.141 104.7)
XYZxyz(42.7358, 48.9322, 12.3469)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD42 #424CC7
analogous
#C77B42 #C7BD42 #8EC742
triadic
#C7BD42 #42C7BD #BD42C7
tetradic
#C7BD42 #42C77B #424CC7 #C7428E
square
#C7BD42 #42C77B #424CC7 #C7428E
split-complementary
#C7BD42 #428EC7 #7B42C7
monochromatic
#6E6821 #9D952F #C7BD42 #D5CD71 #E3DEA0

Accessibility & contrast

On white

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

On black

10.79
#C7BD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD42
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD42#FFFFFF#000000##000000
##C7BD421.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB731
Deuteranopia (green-blind)
#D1BC4A
Tritanopia (blue-blind)
#D5B1A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bd42;
/* rgb */ color: rgb(199, 189, 66);
/* oklch */ color: oklch(78.4% 0.141 104.7);
Tailwind
colors: {
  custom: {
    50: '#dbd07d',
    500: '#c7bd42',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd42;
$custom-light: #dbd07d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd42",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 55.489,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78425,
    "c": 0.14121,
    "h": 104.7
  },
  "luminance": 0.48931
}

Semantic roles & 50–950 ramp

primary
#C7BD42
secondary
#959AD0
accent
#55DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7BD42

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

Preview Lab → · Contrast checker → · Palette generator →

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