#CCB249#CCB249

#CCB249 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.6% C 0.127 H 95.3°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CCB249
RGBrgb(204, 178, 73)
HSLhsl(48, 56%, 54%)
HSVhsv(48, 64%, 80%)
CMYKcmyk(0%, 12.7%, 64.2%, 20%)
CIE-LABlab(73.00, -2.69, 55.46)
CIE-LCHlch(73.00, 55.52, 92.78°)
OKLaboklab(76.64% -0.0117 0.1263)
OKLCHoklch(76.64% 0.127 95.3)
XYZxyz(42.0268, 45.1613, 12.8054)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB249 #4963CC
analogous
#CC7149 #CCB249 #A4CC49
triadic
#CCB249 #49CCB2 #B249CC
tetradic
#CCB249 #49CC71 #4963CC #CC49A4
square
#CCB249 #49CC71 #4963CC #CC49A4
split-complementary
#CCB249 #49A4CC #7149CC
monochromatic
#796822 #A9902F #CCB249 #D9C679 #E7DAA9

Accessibility & contrast

On white

2.09
#CCB249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#CCB249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB249
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB249#FFFFFF#000000##000000
##CCB2491.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3D
Deuteranopia (green-blind)
#CAB74E
Tritanopia (blue-blind)
#DCA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb249;
/* rgb */ color: rgb(204, 178, 73);
/* oklch */ color: oklch(76.6% 0.127 95.3);
Tailwind
colors: {
  custom: {
    50: '#dfc880',
    500: '#ccb249',
    950: '#000000',
  },
}
SCSS
$custom: #ccb249;
$custom-light: #dfc880;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb249",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 48.092,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76636,
    "c": 0.1268,
    "h": 95.3
  },
  "luminance": 0.45159
}

Semantic roles & 50–950 ramp

primary
#CCB249
secondary
#9DA8D4
accent
#66E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB249

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

Preview Lab → · Contrast checker → · Palette generator →

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