#CCB149#CCB149

#CCB149 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.126 H 94.6°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CCB149
RGBrgb(204, 177, 73)
HSLhsl(48, 56%, 54%)
HSVhsv(48, 64%, 80%)
CMYKcmyk(0%, 13.2%, 64.2%, 20%)
CIE-LABlab(72.74, -2.17, 55.17)
CIE-LCHlch(72.74, 55.22, 92.25°)
OKLaboklab(76.43% -0.0102 0.1257)
OKLCHoklch(76.43% 0.126 94.6)
XYZxyz(41.8285, 44.7648, 12.7393)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB149 #4964CC
analogous
#CC7049 #CCB149 #A5CC49
triadic
#CCB149 #49CCB1 #B149CC
tetradic
#CCB149 #49CC70 #4964CC #CC49A5
square
#CCB149 #49CC70 #4964CC #CC49A5
split-complementary
#CCB149 #49A5CC #7049CC
monochromatic
#796722 #A9902F #CCB149 #D9C579 #E7DAA9

Accessibility & contrast

On white

2.11
#CCB149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#CCB149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB149
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB149#FFFFFF#000000##000000
##CCB1491.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3D
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#DCA49B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb149;
/* rgb */ color: rgb(204, 177, 73);
/* oklch */ color: oklch(76.4% 0.126 94.6);
Tailwind
colors: {
  custom: {
    50: '#dfc880',
    500: '#ccb149',
    950: '#000000',
  },
}
SCSS
$custom: #ccb149;
$custom-light: #dfc880;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb149",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 47.634,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76429,
    "c": 0.12608,
    "h": 94.6
  },
  "luminance": 0.44763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB149

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

Preview Lab → · Contrast checker → · Palette generator →

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