#CCB442#CCB442

#CCB442 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.134 H 97.2°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CCB442
RGBrgb(204, 180, 66)
HSLhsl(50, 58%, 53%)
HSVhsv(50, 68%, 80%)
CMYKcmyk(0%, 11.8%, 67.6%, 20%)
CIE-LABlab(73.46, -4.16, 58.94)
CIE-LCHlch(73.46, 59.08, 94.03°)
OKLaboklab(76.99% -0.0167 0.1325)
OKLCHoklch(76.99% 0.134 97.2)
XYZxyz(42.2084, 45.8753, 11.7848)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB442 #425ACC
analogous
#CC6F42 #CCB442 #9FCC42
triadic
#CCB442 #42CCB4 #B442CC
tetradic
#CCB442 #42CC6F #425ACC #CC429F
square
#CCB442 #42CC6F #425ACC #CC429F
split-complementary
#CCB442 #429FCC #6F42CC
monochromatic
#74651F #A4902C #CCB442 #D9C772 #E6DAA2

Accessibility & contrast

On white

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

On black

10.17
#CCB442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB442
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB442#FFFFFF#000000##000000
##CCB4421.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B033
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#DCA79D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb442;
/* rgb */ color: rgb(204, 180, 66);
/* oklch */ color: oklch(77.0% 0.134 97.2);
Tailwind
colors: {
  custom: {
    50: '#dfca7c',
    500: '#ccb442',
    950: '#000000',
  },
}
SCSS
$custom: #ccb442;
$custom-light: #dfca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb442",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 49.565,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76986,
    "c": 0.13358,
    "h": 97.2
  },
  "luminance": 0.45873
}

Semantic roles & 50–950 ramp

primary
#CCB442
secondary
#97A1D3
accent
#62E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB442

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

Preview Lab → · Contrast checker → · Palette generator →

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