#CCBF5B#CCBF5B

#CCBF5B is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.5% C 0.122 H 102.0°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#CCBF5B
RGBrgb(204, 191, 91)
HSLhsl(53, 53%, 58%)
HSVhsv(53, 55%, 80%)
CMYKcmyk(0%, 6.4%, 55.4%, 20%)
CIE-LABlab(76.59, -8.19, 51.28)
CIE-LCHlch(76.59, 51.93, 99.07°)
OKLaboklab(79.54% -0.0254 0.1197)
OKLCHoklch(79.54% 0.122 102)
XYZxyz(45.4225, 50.8560, 17.3190)
Luminance0.5085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF5B #5B68CC
analogous
#CC865B #CCBF5B #A1CC5B
triadic
#CCBF5B #5BCCBF #BF5BCC
tetradic
#CCBF5B #5BCC86 #5B68CC #CC5BA1
square
#CCBF5B #5BCC86 #5B68CC #CC5BA1
split-complementary
#CCBF5B #5BA1CC #865BCC
monochromatic
#847929 #B2A437 #CCBF5B #DBD18A #E9E3B8

Accessibility & contrast

On white

1.88
#CCBF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#CCBF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF5B
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF5B#FFFFFF#000000##000000
##CCBF5B1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA51
Deuteranopia (green-blind)
#D2C060
Tritanopia (blue-blind)
#DAB3A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf5b;
/* rgb */ color: rgb(204, 191, 91);
/* oklch */ color: oklch(79.5% 0.122 102.0);
Tailwind
colors: {
  custom: {
    50: '#ded28c',
    500: '#ccbf5b',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf5b;
$custom-light: #ded28c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf5b",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 91
  },
  "hsl": {
    "h": 53.097,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79539,
    "c": 0.12231,
    "h": 102
  },
  "luminance": 0.50854
}

Semantic roles & 50–950 ramp

primary
#CCBF5B
secondary
#40498B
accent
#5CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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