#CCB146#CCB146

#CCB146 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.128 H 94.9°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#CCB146
RGBrgb(204, 177, 70)
HSLhsl(48, 57%, 54%)
HSVhsv(48, 66%, 80%)
CMYKcmyk(0%, 13.2%, 65.7%, 20%)
CIE-LABlab(72.71, -2.35, 56.46)
CIE-LCHlch(72.71, 56.51, 92.38°)
OKLaboklab(76.4% -0.0111 0.1279)
OKLCHoklch(76.4% 0.128 94.9)
XYZxyz(41.7314, 44.7260, 12.2280)
Luminance0.4472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB146 #4661CC
analogous
#CC6E46 #CCB146 #A4CC46
triadic
#CCB146 #46CCB1 #B146CC
tetradic
#CCB146 #46CC6E #4661CC #CC46A4
square
#CCB146 #46CC6E #4661CC #CC46A4
split-complementary
#CCB146 #46A4CC #6E46CC
monochromatic
#776521 #A78E2E #CCB146 #D9C576 #E6D9A6

Accessibility & contrast

On white

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

On black

9.94
#CCB146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB146
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB146#FFFFFF#000000##000000
##CCB1461.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE39
Deuteranopia (green-blind)
#C9B64B
Tritanopia (blue-blind)
#DCA49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb146;
/* rgb */ color: rgb(204, 177, 70);
/* oklch */ color: oklch(76.4% 0.128 94.9);
Tailwind
colors: {
  custom: {
    50: '#dfc87e',
    500: '#ccb146',
    950: '#000000',
  },
}
SCSS
$custom: #ccb146;
$custom-light: #dfc87e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb146",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 47.91,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.764,
    "c": 0.12841,
    "h": 94.9
  },
  "luminance": 0.44724
}

Semantic roles & 50–950 ramp

primary
#CCB146
secondary
#9AA6D4
accent
#66E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB146

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

Preview Lab → · Contrast checker → · Palette generator →

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