#CCB350#CCB350

#CCB350 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.9% C 0.122 H 95.2°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#CCB350
RGBrgb(204, 179, 80)
HSLhsl(48, 55%, 56%)
HSVhsv(48, 61%, 80%)
CMYKcmyk(0%, 12.3%, 60.8%, 20%)
CIE-LABlab(73.32, -2.76, 52.67)
CIE-LCHlch(73.32, 52.74, 93.00°)
OKLaboklab(76.91% -0.011 0.1213)
OKLCHoklch(76.91% 0.122 95.2)
XYZxyz(42.4717, 45.6588, 14.1638)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB350 #5069CC
analogous
#CC7550 #CCB350 #A7CC50
triadic
#CCB350 #50CCB3 #B350CC
tetradic
#CCB350 #50CC75 #5069CC #CC50A7
square
#CCB350 #50CC75 #5069CC #CC50A7
split-complementary
#CCB350 #50A7CC #7550CC
monochromatic
#7D6B24 #AD9432 #CCB350 #DAC87F #E8DCAF

Accessibility & contrast

On white

2.07
#CCB350 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#CCB350 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB350
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB350#FFFFFF#000000##000000
##CCB3501.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B045
Deuteranopia (green-blind)
#CAB755
Tritanopia (blue-blind)
#DBA79D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb350;
/* rgb */ color: rgb(204, 179, 80);
/* oklch */ color: oklch(76.9% 0.122 95.2);
Tailwind
colors: {
  custom: {
    50: '#dec985',
    500: '#ccb350',
    950: '#000000',
  },
}
SCSS
$custom: #ccb350;
$custom-light: #dec985;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb350",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 80
  },
  "hsl": {
    "h": 47.903,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76914,
    "c": 0.12182,
    "h": 95.2
  },
  "luminance": 0.45657
}

Semantic roles & 50–950 ramp

primary
#CCB350
secondary
#A2ADD6
accent
#68DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB350

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

Preview Lab → · Contrast checker → · Palette generator →

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