#CCB950#CCB950

#CCB950 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.127 H 99.1°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#CCB950
RGBrgb(204, 185, 80)
HSLhsl(51, 55%, 56%)
HSVhsv(51, 61%, 80%)
CMYKcmyk(0%, 9.3%, 60.8%, 20%)
CIE-LABlab(74.90, -5.89, 54.42)
CIE-LCHlch(74.90, 54.73, 96.18°)
OKLaboklab(78.16% -0.02 0.125)
OKLCHoklch(78.16% 0.127 99.1)
XYZxyz(43.7005, 48.1164, 14.5734)
Luminance0.4811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB950 #5063CC
analogous
#CC7B50 #CCB950 #A1CC50
triadic
#CCB950 #50CCB9 #B950CC
tetradic
#CCB950 #50CC7B #5063CC #CC50A1
square
#CCB950 #50CC7B #5063CC #CC50A1
split-complementary
#CCB950 #50A1CC #7B50CC
monochromatic
#7D7024 #AD9A32 #CCB950 #DACC7F #E8DFAF

Accessibility & contrast

On white

1.98
#CCB950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#CCB950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB950
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB950#FFFFFF#000000##000000
##CCB9501.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B445
Deuteranopia (green-blind)
#CFBB55
Tritanopia (blue-blind)
#DBADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb950;
/* rgb */ color: rgb(204, 185, 80);
/* oklch */ color: oklch(78.2% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#decd85',
    500: '#ccb950',
    950: '#000000',
  },
}
SCSS
$custom: #ccb950;
$custom-light: #decd85;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb950",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 50.806,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7816,
    "c": 0.12664,
    "h": 99.1
  },
  "luminance": 0.48114
}

Semantic roles & 50–950 ramp

primary
#CCB950
secondary
#A2AAD6
accent
#60DE4A
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB950

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

Preview Lab → · Contrast checker → · Palette generator →

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