#C4BA48#C4BA48

#C4BA48 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.6% C 0.134 H 104.3°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#C4BA48
RGBrgb(196, 186, 72)
HSLhsl(55, 51%, 53%)
HSVhsv(55, 63%, 77%)
CMYKcmyk(0%, 5.1%, 63.3%, 23.1%)
CIE-LABlab(74.40, -10.33, 57.18)
CIE-LCHlch(74.40, 58.10, 100.24°)
OKLaboklab(77.57% -0.0331 0.13)
OKLCHoklch(77.57% 0.134 104.3)
XYZxyz(41.4951, 47.3230, 13.0781)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA48 #4852C4
analogous
#C47C48 #C4BA48 #90C448
triadic
#C4BA48 #48C4BA #BA48C4
tetradic
#C4BA48 #48C47C #4852C4 #C44890
square
#C4BA48 #48C47C #4852C4 #C44890
split-complementary
#C4BA48 #4890C4 #7C48C4
monochromatic
#6E6823 #9C9432 #C4BA48 #D3CB76 #E2DDA5

Accessibility & contrast

On white

2.01
#C4BA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#C4BA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BA48
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BA48#FFFFFF#000000##000000
##C4BA481.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43A
Deuteranopia (green-blind)
#CDB94F
Tritanopia (blue-blind)
#D2AEA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4ba48;
/* rgb */ color: rgb(196, 186, 72);
/* oklch */ color: oklch(77.6% 0.134 104.3);
Tailwind
colors: {
  custom: {
    50: '#d9ce80',
    500: '#c4ba48',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba48;
$custom-light: #d9ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba48",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 55.161,
    "s": 51.24,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77572,
    "c": 0.13414,
    "h": 104.3
  },
  "luminance": 0.47321
}

Semantic roles & 50–950 ramp

primary
#C4BA48
secondary
#999DCF
accent
#59DB4D
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C4BA48

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

Preview Lab → · Contrast checker → · Palette generator →

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