#C7BF48#C7BF48

#C7BF48 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.9% C 0.139 H 105.5°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#C7BF48
RGBrgb(199, 191, 72)
HSLhsl(56, 53%, 53%)
HSVhsv(56, 64%, 78%)
CMYKcmyk(0%, 4%, 63.8%, 22%)
CIE-LABlab(75.99, -11.62, 58.95)
CIE-LCHlch(75.99, 60.08, 101.15°)
OKLaboklab(78.9% -0.037 0.1336)
OKLCHoklch(78.9% 0.139 105.5)
XYZxyz(43.3553, 49.8731, 13.4723)
Luminance0.4987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF48 #4850C7
analogous
#C77F48 #C7BF48 #90C748
triadic
#C7BF48 #48C7BF #BF48C7
tetradic
#C7BF48 #48C77F #4850C7 #C74890
square
#C7BF48 #48C77F #4850C7 #C74890
split-complementary
#C7BF48 #4890C7 #7F48C7
monochromatic
#726D23 #A19A31 #C7BF48 #D5CF77 #E4E0A6

Accessibility & contrast

On white

1.91
#C7BF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#C7BF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF48
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF48#FFFFFF#000000##000000
##C7BF481.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB839
Deuteranopia (green-blind)
#D2BE4F
Tritanopia (blue-blind)
#D5B3A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7bf48;
/* rgb */ color: rgb(199, 191, 72);
/* oklch */ color: oklch(78.9% 0.139 105.5);
Tailwind
colors: {
  custom: {
    50: '#dbd281',
    500: '#c7bf48',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf48;
$custom-light: #dbd281;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf48",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 56.22,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78903,
    "c": 0.13866,
    "h": 105.5
  },
  "luminance": 0.49872
}

Semantic roles & 50–950 ramp

primary
#C7BF48
secondary
#9A9DD1
accent
#54DD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C7BF48

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

Preview Lab → · Contrast checker → · Palette generator →

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