#CCB850#CCB850

#CCB850 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.126 H 98.5°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#CCB850
RGBrgb(204, 184, 80)
HSLhsl(50, 55%, 56%)
HSVhsv(50, 61%, 80%)
CMYKcmyk(0%, 9.8%, 60.8%, 20%)
CIE-LABlab(74.63, -5.37, 54.13)
CIE-LCHlch(74.63, 54.39, 95.67°)
OKLaboklab(77.95% -0.0185 0.1244)
OKLCHoklch(77.95% 0.126 98.5)
XYZxyz(43.4921, 47.6994, 14.5039)
Luminance0.4770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB850 #5064CC
analogous
#CC7A50 #CCB850 #A2CC50
triadic
#CCB850 #50CCB8 #B850CC
tetradic
#CCB850 #50CC7A #5064CC #CC50A2
square
#CCB850 #50CC7A #5064CC #CC50A2
split-complementary
#CCB850 #50A2CC #7A50CC
monochromatic
#7D6F24 #AD9932 #CCB850 #DACB7F #E8DEAF

Accessibility & contrast

On white

1.99
#CCB850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#CCB850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB850
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB850#FFFFFF#000000##000000
##CCB8501.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B445
Deuteranopia (green-blind)
#CEBB55
Tritanopia (blue-blind)
#DBACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb850;
/* rgb */ color: rgb(204, 184, 80);
/* oklch */ color: oklch(78.0% 0.126 98.5);
Tailwind
colors: {
  custom: {
    50: '#decd85',
    500: '#ccb850',
    950: '#000000',
  },
}
SCSS
$custom: #ccb850;
$custom-light: #decd85;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb850",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 80
  },
  "hsl": {
    "h": 50.323,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77952,
    "c": 0.1258,
    "h": 98.5
  },
  "luminance": 0.47698
}

Semantic roles & 50–950 ramp

primary
#CCB850
secondary
#A2AAD6
accent
#62DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB850

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

Preview Lab → · Contrast checker → · Palette generator →

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