#C4C752#C4C752

#C4C752 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.5% C 0.139 H 110.5°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#C4C752
RGBrgb(196, 199, 82)
HSLhsl(62, 51%, 55%)
HSVhsv(62, 59%, 78%)
CMYKcmyk(1.5%, 0%, 58.8%, 22%)
CIE-LABlab(77.99, -16.26, 56.75)
CIE-LCHlch(77.99, 59.03, 105.99°)
OKLaboklab(80.46% -0.0488 0.1305)
OKLCHoklch(80.46% 0.139 110.5)
XYZxyz(44.7126, 53.1929, 15.8929)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C752 #5552C7
analogous
#C78F52 #C4C752 #8AC752
triadic
#C4C752 #52C4C7 #C752C4
tetradic
#C4C752 #52C78F #5552C7 #C7528A
square
#C4C752 #52C78F #5552C7 #C7528A
split-complementary
#C4C752 #528AC7 #8F52C7
monochromatic
#767827 #A3A636 #C4C752 #D4D680 #E4E5AE

Accessibility & contrast

On white

1.80
#C4C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#C4C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C752
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C752#FFFFFF#000000##000000
##C4C7521.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#D6C359
Tritanopia (blue-blind)
#D0BCAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c4c752;
/* rgb */ color: rgb(196, 199, 82);
/* oklch */ color: oklch(80.5% 0.139 110.5);
Tailwind
colors: {
  custom: {
    50: '#d8d787',
    500: '#c4c752',
    950: '#000000',
  },
}
SCSS
$custom: #c4c752;
$custom-light: #d8d787;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c752",
  "rgb": {
    "r": 196,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 61.538,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80463,
    "c": 0.13929,
    "h": 110.5
  },
  "luminance": 0.53192
}

Semantic roles & 50–950 ramp

primary
#C4C752
secondary
#3F3D80
accent
#4DDB51
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C4C752

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

Preview Lab → · Contrast checker → · Palette generator →

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