#C4B752#C4B752

#C4B752 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.0% C 0.123 H 102.0°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#C4B752
RGBrgb(196, 183, 82)
HSLhsl(53, 49%, 55%)
HSVhsv(53, 58%, 77%)
CMYKcmyk(0%, 6.6%, 58.2%, 23.1%)
CIE-LABlab(73.68, -8.09, 51.96)
CIE-LCHlch(73.68, 52.58, 98.85°)
OKLaboklab(77.04% -0.0256 0.1202)
OKLCHoklch(77.04% 0.123 102)
XYZxyz(41.2229, 46.2135, 14.7297)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B752 #525FC4
analogous
#C47E52 #C4B752 #98C452
triadic
#C4B752 #52C4B7 #B752C4
tetradic
#C4B752 #52C47E #525FC4 #C45298
square
#C4B752 #52C47E #525FC4 #C45298
split-complementary
#C4B752 #5298C4 #7E52C4
monochromatic
#746B28 #A29637 #C4B752 #D4CA80 #E3DDAD

Accessibility & contrast

On white

2.05
#C4B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#C4B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B752
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B752#FFFFFF#000000##000000
##C4B7521.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B247
Deuteranopia (green-blind)
#CAB857
Tritanopia (blue-blind)
#D2ACA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c4b752;
/* rgb */ color: rgb(196, 183, 82);
/* oklch */ color: oklch(77.0% 0.123 102.0);
Tailwind
colors: {
  custom: {
    50: '#d8cc86',
    500: '#c4b752',
    950: '#000000',
  },
}
SCSS
$custom: #c4b752;
$custom-light: #d8cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b752",
  "rgb": {
    "r": 196,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 53.158,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77035,
    "c": 0.12294,
    "h": 102
  },
  "luminance": 0.46212
}

Semantic roles & 50–950 ramp

primary
#C4B752
secondary
#A1A6D1
accent
#5FD94F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C4B752

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

Preview Lab → · Contrast checker → · Palette generator →

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