#CCB452#CCB452

#CCB452 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.1% C 0.121 H 95.7°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#CCB452
RGBrgb(204, 180, 82)
HSLhsl(48, 54%, 56%)
HSVhsv(48, 60%, 80%)
CMYKcmyk(0%, 11.8%, 59.8%, 20%)
CIE-LABlab(73.60, -3.14, 52.06)
CIE-LCHlch(73.60, 52.16, 93.45°)
OKLaboklab(77.14% -0.0119 0.1203)
OKLCHoklch(77.14% 0.121 95.7)
XYZxyz(42.7479, 46.0911, 14.6258)
Luminance0.4609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB452 #526ACC
analogous
#CC7752 #CCB452 #A7CC52
triadic
#CCB452 #52CCB4 #B452CC
tetradic
#CCB452 #52CC77 #526ACC #CC52A7
square
#CCB452 #52CC77 #526ACC #CC52A7
split-complementary
#CCB452 #52A7CC #7752CC
monochromatic
#7E6D25 #AE9633 #CCB452 #DAC881 #E8DDB1

Accessibility & contrast

On white

2.06
#CCB452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#CCB452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB452
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB452#FFFFFF#000000##000000
##CCB4521.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#CBB857
Tritanopia (blue-blind)
#DBA89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb452;
/* rgb */ color: rgb(204, 180, 82);
/* oklch */ color: oklch(77.1% 0.121 95.7);
Tailwind
colors: {
  custom: {
    50: '#deca86',
    500: '#ccb452',
    950: '#000000',
  },
}
SCSS
$custom: #ccb452;
$custom-light: #deca86;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb452",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 82
  },
  "hsl": {
    "h": 48.197,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77142,
    "c": 0.12087,
    "h": 95.7
  },
  "luminance": 0.46089
}

Semantic roles & 50–950 ramp

primary
#CCB452
secondary
#A4AED6
accent
#67DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB452

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

Preview Lab → · Contrast checker → · Palette generator →

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