#CCB050#CCB050

#CCB050 is a light, moderate yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.120 H 93.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CCB050
RGBrgb(204, 176, 80)
HSLhsl(46, 55%, 56%)
HSVhsv(46, 61%, 80%)
CMYKcmyk(0%, 13.7%, 60.8%, 20%)
CIE-LABlab(72.54, -1.18, 51.79)
CIE-LCHlch(72.54, 51.81, 91.30°)
OKLaboklab(76.3% -0.0065 0.1195)
OKLCHoklch(76.3% 0.12 93.1)
XYZxyz(41.8770, 44.4694, 13.9655)
Luminance0.4447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB050 #506CCC
analogous
#CC7250 #CCB050 #AACC50
triadic
#CCB050 #50CCB0 #B050CC
tetradic
#CCB050 #50CC72 #506CCC #CC50AA
square
#CCB050 #50CC72 #506CCC #CC50AA
split-complementary
#CCB050 #50AACC #7250CC
monochromatic
#7D6924 #AD9132 #CCB050 #DAC57F #E8DBAF

Accessibility & contrast

On white

2.12
#CCB050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CCB050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB050
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB050#FFFFFF#000000##000000
##CCB0501.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD46
Deuteranopia (green-blind)
#C8B554
Tritanopia (blue-blind)
#DBA39B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb050;
/* rgb */ color: rgb(204, 176, 80);
/* oklch */ color: oklch(76.3% 0.120 93.1);
Tailwind
colors: {
  custom: {
    50: '#dfc784',
    500: '#ccb050',
    950: '#000000',
  },
}
SCSS
$custom: #ccb050;
$custom-light: #dfc784;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb050",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 80
  },
  "hsl": {
    "h": 46.452,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76295,
    "c": 0.11963,
    "h": 93.1
  },
  "luminance": 0.44467
}

Semantic roles & 50–950 ramp

primary
#CCB050
secondary
#A2AED6
accent
#6BDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB050

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

Preview Lab → · Contrast checker → · Palette generator →

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