#CCB545#CCB545

#CCB545 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.2% C 0.132 H 97.5°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#CCB545
RGBrgb(204, 181, 69)
HSLhsl(50, 57%, 54%)
HSVhsv(50, 66%, 80%)
CMYKcmyk(0%, 11.3%, 66.2%, 20%)
CIE-LABlab(73.75, -4.51, 57.98)
CIE-LCHlch(73.75, 58.16, 94.45°)
OKLaboklab(77.22% -0.0174 0.131)
OKLCHoklch(77.22% 0.132 97.5)
XYZxyz(42.5018, 46.3168, 12.3304)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB545 #455CCC
analogous
#CC7145 #CCB545 #9FCC45
triadic
#CCB545 #45CCB5 #B545CC
tetradic
#CCB545 #45CC71 #455CCC #CC459F
square
#CCB545 #45CC71 #455CCC #CC459F
split-complementary
#CCB545 #459FCC #7145CC
monochromatic
#766820 #A6922E #CCB545 #D9C875 #E6DBA5

Accessibility & contrast

On white

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

On black

10.26
#CCB545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB545
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB545#FFFFFF#000000##000000
##CCB5451.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb545;
/* rgb */ color: rgb(204, 181, 69);
/* oklch */ color: oklch(77.2% 0.132 97.5);
Tailwind
colors: {
  custom: {
    50: '#dfca7e',
    500: '#ccb545',
    950: '#000000',
  },
}
SCSS
$custom: #ccb545;
$custom-light: #dfca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb545",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 49.778,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77221,
    "c": 0.13214,
    "h": 97.5
  },
  "luminance": 0.46315
}

Semantic roles & 50–950 ramp

primary
#CCB545
secondary
#99A3D3
accent
#62E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB545

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

Preview Lab → · Contrast checker → · Palette generator →

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