#CCB043#CCB043

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

Color values

HEX#CCB043
RGBrgb(204, 176, 67)
HSLhsl(48, 57%, 53%)
HSVhsv(48, 67%, 80%)
CMYKcmyk(0%, 13.7%, 67.2%, 20%)
CIE-LABlab(72.43, -2.00, 57.44)
CIE-LCHlch(72.43, 57.47, 91.99°)
OKLaboklab(76.17% -0.0104 0.1295)
OKLCHoklch(76.17% 0.13 94.6)
XYZxyz(41.4423, 44.2955, 11.6761)
Luminance0.4429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB043 #435FCC
analogous
#CC6B43 #CCB043 #A3CC43
triadic
#CCB043 #43CCB0 #B043CC
tetradic
#CCB043 #43CC6B #435FCC #CC43A3
square
#CCB043 #43CC6B #435FCC #CC43A3
split-complementary
#CCB043 #43A3CC #6B43CC
monochromatic
#756320 #A58C2D #CCB043 #D9C473 #E6D8A3

Accessibility & contrast

On white

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

On black

9.86
#CCB043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB043
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB043#FFFFFF#000000##000000
##CCB0431.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD35
Deuteranopia (green-blind)
#C9B549
Tritanopia (blue-blind)
#DCA399
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb043;
/* rgb */ color: rgb(204, 176, 67);
/* oklch */ color: oklch(76.2% 0.130 94.6);
Tailwind
colors: {
  custom: {
    50: '#dfc77d',
    500: '#ccb043',
    950: '#000000',
  },
}
SCSS
$custom: #ccb043;
$custom-light: #dfc77d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb043",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 67
  },
  "hsl": {
    "h": 47.737,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76167,
    "c": 0.12994,
    "h": 94.6
  },
  "luminance": 0.44293
}

Semantic roles & 50–950 ramp

primary
#CCB043
secondary
#98A4D3
accent
#67E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB043

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

Preview Lab → · Contrast checker → · Palette generator →

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