#C7BD48#C7BD48

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

Color values

HEX#C7BD48
RGBrgb(199, 189, 72)
HSLhsl(55, 53%, 53%)
HSVhsv(55, 64%, 78%)
CMYKcmyk(0%, 5%, 63.8%, 22%)
CIE-LABlab(75.46, -10.60, 58.38)
CIE-LCHlch(75.46, 59.33, 100.29°)
OKLaboklab(78.48% -0.0341 0.1324)
OKLCHoklch(78.48% 0.137 104.4)
XYZxyz(42.9221, 49.0068, 13.3279)
Luminance0.4900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD48 #4852C7
analogous
#C77E48 #C7BD48 #91C748
triadic
#C7BD48 #48C7BD #BD48C7
tetradic
#C7BD48 #48C77E #4852C7 #C74891
square
#C7BD48 #48C77E #4852C7 #C74891
split-complementary
#C7BD48 #4891C7 #7E48C7
monochromatic
#726C23 #A19831 #C7BD48 #D5CE77 #E4DFA6

Accessibility & contrast

On white

1.94
#C7BD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#C7BD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD48
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD48#FFFFFF#000000##000000
##C7BD481.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB739
Deuteranopia (green-blind)
#D0BC4F
Tritanopia (blue-blind)
#D5B1A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bd48;
/* rgb */ color: rgb(199, 189, 72);
/* oklch */ color: oklch(78.5% 0.137 104.4);
Tailwind
colors: {
  custom: {
    50: '#dbd080',
    500: '#c7bd48',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd48;
$custom-light: #dbd080;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd48",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 55.276,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78476,
    "c": 0.13675,
    "h": 104.4
  },
  "luminance": 0.49005
}

Semantic roles & 50–950 ramp

primary
#C7BD48
secondary
#9A9ED1
accent
#57DD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BD48

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

Preview Lab → · Contrast checker → · Palette generator →

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