#C7BD45#C7BD45

#C7BD45 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.5% C 0.139 H 104.5°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#C7BD45
RGBrgb(199, 189, 69)
HSLhsl(55, 54%, 53%)
HSVhsv(55, 65%, 78%)
CMYKcmyk(0%, 5%, 65.3%, 22%)
CIE-LABlab(75.43, -10.78, 59.60)
CIE-LCHlch(75.43, 60.57, 100.25°)
OKLaboklab(78.45% -0.0349 0.1346)
OKLCHoklch(78.45% 0.139 104.5)
XYZxyz(42.8266, 48.9686, 12.8250)
Luminance0.4897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD45 #454FC7
analogous
#C77C45 #C7BD45 #90C745
triadic
#C7BD45 #45C7BD #BD45C7
tetradic
#C7BD45 #45C77C #454FC7 #C74590
square
#C7BD45 #45C77C #454FC7 #C74590
split-complementary
#C7BD45 #4590C7 #7C45C7
monochromatic
#706A22 #9F9630 #C7BD45 #D5CE74 #E3DEA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BD45#FFFFFF#000000##000000
##C7BD451.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)
#CDB735
Deuteranopia (green-blind)
#D1BC4C
Tritanopia (blue-blind)
#D5B1A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bd45;
/* rgb */ color: rgb(199, 189, 69);
/* oklch */ color: oklch(78.5% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#dbd07f',
    500: '#c7bd45',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd45;
$custom-light: #dbd07f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd45",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 69
  },
  "hsl": {
    "h": 55.385,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7845,
    "c": 0.13903,
    "h": 104.5
  },
  "luminance": 0.48967
}

Semantic roles & 50–950 ramp

primary
#C7BD45
secondary
#989CD0
accent
#56DD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7BD45

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

Preview Lab → · Contrast checker → · Palette generator →

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