#CCB046#CCB046

#CCB046 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.128 H 94.3°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#CCB046
RGBrgb(204, 176, 70)
HSLhsl(47, 57%, 54%)
HSVhsv(47, 66%, 80%)
CMYKcmyk(0%, 13.7%, 65.7%, 20%)
CIE-LABlab(72.45, -1.82, 56.18)
CIE-LCHlch(72.45, 56.21, 91.86°)
OKLaboklab(76.19% -0.0095 0.1273)
OKLCHoklch(76.19% 0.128 94.3)
XYZxyz(41.5346, 44.3324, 12.1624)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB046 #4662CC
analogous
#CC6D46 #CCB046 #A5CC46
triadic
#CCB046 #46CCB0 #B046CC
tetradic
#CCB046 #46CC6D #4662CC #CC46A5
square
#CCB046 #46CC6D #4662CC #CC46A5
split-complementary
#CCB046 #46A5CC #6D46CC
monochromatic
#776521 #A78E2E #CCB046 #D9C476 #E6D9A6

Accessibility & contrast

On white

2.13
#CCB046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CCB046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB046
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB046#FFFFFF#000000##000000
##CCB0461.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD39
Deuteranopia (green-blind)
#C9B54B
Tritanopia (blue-blind)
#DCA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb046;
/* rgb */ color: rgb(204, 176, 70);
/* oklch */ color: oklch(76.2% 0.128 94.3);
Tailwind
colors: {
  custom: {
    50: '#dfc77e',
    500: '#ccb046',
    950: '#000000',
  },
}
SCSS
$custom: #ccb046;
$custom-light: #dfc77e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb046",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 70
  },
  "hsl": {
    "h": 47.463,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76194,
    "c": 0.1277,
    "h": 94.3
  },
  "luminance": 0.4433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB046

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

Preview Lab → · Contrast checker → · Palette generator →

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