#CCBF5D#CCBF5D

#CCBF5D is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.6% C 0.120 H 101.8°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#CCBF5D
RGBrgb(204, 191, 93)
HSLhsl(53, 52%, 58%)
HSVhsv(53, 54%, 80%)
CMYKcmyk(0%, 6.4%, 54.4%, 20%)
CIE-LABlab(76.61, -8.03, 50.36)
CIE-LCHlch(76.61, 51.00, 99.06°)
OKLaboklab(79.56% -0.0247 0.1179)
OKLCHoklch(79.56% 0.12 101.8)
XYZxyz(45.5099, 50.8909, 17.7795)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF5D #5D6ACC
analogous
#CC875D #CCBF5D #A1CC5D
triadic
#CCBF5D #5DCCBF #BF5DCC
tetradic
#CCBF5D #5DCC87 #5D6ACC #CC5DA1
square
#CCBF5D #5DCC87 #5D6ACC #CC5DA1
split-complementary
#CCBF5D #5DA1CC #875DCC
monochromatic
#857A2A #B3A538 #CCBF5D #DBD18C #E9E4BA

Accessibility & contrast

On white

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

On black

11.18
#CCBF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF5D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF5D#FFFFFF#000000##000000
##CCBF5D1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA54
Deuteranopia (green-blind)
#D2C062
Tritanopia (blue-blind)
#DAB4A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf5d;
/* rgb */ color: rgb(204, 191, 93);
/* oklch */ color: oklch(79.6% 0.120 101.8);
Tailwind
colors: {
  custom: {
    50: '#ded28e',
    500: '#ccbf5d',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf5d;
$custom-light: #ded28e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf5d",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 93
  },
  "hsl": {
    "h": 52.973,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79562,
    "c": 0.12045,
    "h": 101.8
  },
  "luminance": 0.50889
}

Semantic roles & 50–950 ramp

primary
#CCBF5D
secondary
#414A8C
accent
#5DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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