#C7BA48#C7BA48

#C7BA48 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.8% C 0.134 H 102.8°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#C7BA48
RGBrgb(199, 186, 72)
HSLhsl(54, 53%, 53%)
HSVhsv(54, 64%, 78%)
CMYKcmyk(0%, 6.5%, 63.8%, 22%)
CIE-LABlab(74.65, -9.06, 57.53)
CIE-LCHlch(74.65, 58.24, 98.95°)
OKLaboklab(77.84% -0.0297 0.1306)
OKLCHoklch(77.84% 0.134 102.8)
XYZxyz(42.2834, 47.7295, 13.1151)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BA48 #4855C7
analogous
#C77A48 #C7BA48 #94C748
triadic
#C7BA48 #48C7BA #BA48C7
tetradic
#C7BA48 #48C77A #4855C7 #C74894
square
#C7BA48 #48C77A #4855C7 #C74894
split-complementary
#C7BA48 #4894C7 #7A48C7
monochromatic
#726A23 #A19531 #C7BA48 #D5CC77 #E4DDA6

Accessibility & contrast

On white

1.99
#C7BA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#C7BA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BA48
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BA48#FFFFFF#000000##000000
##C7BA481.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43A
Deuteranopia (green-blind)
#CEBA4E
Tritanopia (blue-blind)
#D5AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7ba48;
/* rgb */ color: rgb(199, 186, 72);
/* oklch */ color: oklch(77.8% 0.134 102.8);
Tailwind
colors: {
  custom: {
    50: '#dbce80',
    500: '#c7ba48',
    950: '#000000',
  },
}
SCSS
$custom: #c7ba48;
$custom-light: #dbce80;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ba48",
  "rgb": {
    "r": 199,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 53.858,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77839,
    "c": 0.13397,
    "h": 102.8
  },
  "luminance": 0.47728
}

Semantic roles & 50–950 ramp

primary
#C7BA48
secondary
#9AA0D1
accent
#5ADD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BA48

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

Preview Lab → · Contrast checker → · Palette generator →

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