#CCBF2C#CCBF2C

#CCBF2C is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.1% C 0.156 H 104.1°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#CCBF2C
RGBrgb(204, 191, 44)
HSLhsl(55, 65%, 49%)
HSVhsv(55, 78%, 80%)
CMYKcmyk(0%, 6.4%, 78.4%, 20%)
CIE-LABlab(76.24, -10.84, 69.50)
CIE-LCHlch(76.24, 70.34, 98.86°)
OKLaboklab(79.15% -0.0378 0.1509)
OKLCHoklch(79.15% 0.156 104.1)
XYZxyz(43.9893, 50.2827, 9.7708)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF2C #2C39CC
analogous
#CC6F2C #CCBF2C #89CC2C
triadic
#CCBF2C #2CCCBF #BF2CCC
tetradic
#CCBF2C #2CCC6F #2C39CC #CC2C89
square
#CCBF2C #2CCC6F #2C39CC #CC2C89
split-complementary
#CCBF2C #2C89CC #6F2CCC
monochromatic
#676116 #9A9021 #CCBF2C #DBD15A #E6DF8C

Accessibility & contrast

On white

1.90
#CCBF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#CCBF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF2C
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF2C#FFFFFF#000000##000000
##CCBF2C1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#D5BF38
Tritanopia (blue-blind)
#DCB1A4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbf2c;
/* rgb */ color: rgb(204, 191, 44);
/* oklch */ color: oklch(79.1% 0.156 104.1);
Tailwind
colors: {
  custom: {
    50: '#e0d172',
    500: '#ccbf2c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf2c;
$custom-light: #e0d172;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf2c",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 55.125,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79149,
    "c": 0.15558,
    "h": 104.1
  },
  "luminance": 0.50281
}

Semantic roles & 50–950 ramp

primary
#CCBF2C
secondary
#2B3171
accent
#4EE840
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CCBF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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