#CCB045#CCB045

#CCB045 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.128 H 94.4°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#CCB045
RGBrgb(204, 176, 69)
HSLhsl(48, 57%, 54%)
HSVhsv(48, 66%, 80%)
CMYKcmyk(0%, 13.7%, 66.2%, 20%)
CIE-LABlab(72.44, -1.88, 56.60)
CIE-LCHlch(72.44, 56.63, 91.91°)
OKLaboklab(76.19% -0.0098 0.1281)
OKLCHoklch(76.19% 0.128 94.4)
XYZxyz(41.5033, 44.3199, 11.9976)
Luminance0.4432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB045 #4561CC
analogous
#CC6C45 #CCB045 #A4CC45
triadic
#CCB045 #45CCB0 #B045CC
tetradic
#CCB045 #45CC6C #4561CC #CC45A4
square
#CCB045 #45CC6C #4561CC #CC45A4
split-complementary
#CCB045 #45A4CC #6C45CC
monochromatic
#766420 #A68D2E #CCB045 #D9C475 #E6D9A5

Accessibility & contrast

On white

2.13
#CCB045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#CCB045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB045
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB045#FFFFFF#000000##000000
##CCB0451.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#C9B54A
Tritanopia (blue-blind)
#DCA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb045;
/* rgb */ color: rgb(204, 176, 69);
/* oklch */ color: oklch(76.2% 0.128 94.4);
Tailwind
colors: {
  custom: {
    50: '#dfc77e',
    500: '#ccb045',
    950: '#000000',
  },
}
SCSS
$custom: #ccb045;
$custom-light: #dfc77e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb045",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 47.556,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76185,
    "c": 0.12846,
    "h": 94.4
  },
  "luminance": 0.44318
}

Semantic roles & 50–950 ramp

primary
#CCB045
secondary
#99A5D3
accent
#67E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB045

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

Preview Lab → · Contrast checker → · Palette generator →

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