#C7BB48#C7BB48

#C7BB48 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.1% C 0.135 H 103.4°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#C7BB48
RGBrgb(199, 187, 72)
HSLhsl(54, 53%, 53%)
HSVhsv(54, 64%, 78%)
CMYKcmyk(0%, 6%, 63.8%, 22%)
CIE-LABlab(74.92, -9.57, 57.81)
CIE-LCHlch(74.92, 58.60, 99.40°)
OKLaboklab(78.05% -0.0312 0.1312)
OKLCHoklch(78.05% 0.135 103.4)
XYZxyz(42.4948, 48.1523, 13.1855)
Luminance0.4815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB48 #4854C7
analogous
#C77B48 #C7BB48 #93C748
triadic
#C7BB48 #48C7BB #BB48C7
tetradic
#C7BB48 #48C77B #4854C7 #C74893
square
#C7BB48 #48C77B #4854C7 #C74893
split-complementary
#C7BB48 #4893C7 #7B48C7
monochromatic
#726A23 #A19631 #C7BB48 #D5CC77 #E4DEA6

Accessibility & contrast

On white

1.98
#C7BB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#C7BB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB48
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB48#FFFFFF#000000##000000
##C7BB481.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53A
Deuteranopia (green-blind)
#CFBB4F
Tritanopia (blue-blind)
#D5AFA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7bb48;
/* rgb */ color: rgb(199, 187, 72);
/* oklch */ color: oklch(78.1% 0.135 103.4);
Tailwind
colors: {
  custom: {
    50: '#dbcf80',
    500: '#c7bb48',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb48;
$custom-light: #dbcf80;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb48",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 54.331,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78051,
    "c": 0.13489,
    "h": 103.4
  },
  "luminance": 0.48151
}

Semantic roles & 50–950 ramp

primary
#C7BB48
secondary
#9A9FD1
accent
#59DD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BB48

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

Preview Lab → · Contrast checker → · Palette generator →

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