#C4BD52#C4BD52

#C4BD52 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.3% C 0.129 H 105.5°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#C4BD52
RGBrgb(196, 189, 82)
HSLhsl(56, 49%, 55%)
HSVhsv(56, 58%, 77%)
CMYKcmyk(0%, 3.6%, 58.2%, 23.1%)
CIE-LABlab(75.29, -11.19, 53.76)
CIE-LCHlch(75.29, 54.91, 101.76°)
OKLaboklab(78.31% -0.0344 0.1241)
OKLCHoklch(78.31% 0.129 105.5)
XYZxyz(42.4869, 48.7415, 15.1510)
Luminance0.4874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BD52 #5259C4
analogous
#C48452 #C4BD52 #92C452
triadic
#C4BD52 #52C4BD #BD52C4
tetradic
#C4BD52 #52C484 #5259C4 #C45292
square
#C4BD52 #52C484 #5259C4 #C45292
split-complementary
#C4BD52 #5292C4 #8452C4
monochromatic
#746F28 #A29B37 #C4BD52 #D4CE80 #E3E0AD

Accessibility & contrast

On white

1.95
#C4BD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#C4BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BD52
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BD52#FFFFFF#000000##000000
##C4BD521.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB747
Deuteranopia (green-blind)
#CFBC58
Tritanopia (blue-blind)
#D1B2A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c4bd52;
/* rgb */ color: rgb(196, 189, 82);
/* oklch */ color: oklch(78.3% 0.129 105.5);
Tailwind
colors: {
  custom: {
    50: '#d8d086',
    500: '#c4bd52',
    950: '#000000',
  },
}
SCSS
$custom: #c4bd52;
$custom-light: #d8d086;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bd52",
  "rgb": {
    "r": 196,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 56.316,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78312,
    "c": 0.12877,
    "h": 105.5
  },
  "luminance": 0.4874
}

Semantic roles & 50–950 ramp

primary
#C4BD52
secondary
#A1A4D1
accent
#58D94F
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C4BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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