#CCBF5A#CCBF5A

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

Color values

HEX#CCBF5A
RGBrgb(204, 191, 90)
HSLhsl(53, 53%, 58%)
HSVhsv(53, 56%, 80%)
CMYKcmyk(0%, 6.4%, 55.9%, 20%)
CIE-LABlab(76.58, -8.27, 51.73)
CIE-LCHlch(76.58, 52.39, 99.08°)
OKLaboklab(79.53% -0.0257 0.1205)
OKLCHoklch(79.53% 0.123 102)
XYZxyz(45.3796, 50.8388, 17.0934)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF5A #5A67CC
analogous
#CC865A #CCBF5A #A0CC5A
triadic
#CCBF5A #5ACCBF #BF5ACC
tetradic
#CCBF5A #5ACC86 #5A67CC #CC5AA0
square
#CCBF5A #5ACC86 #5A67CC #CC5AA0
split-complementary
#CCBF5A #5AA0CC #865ACC
monochromatic
#837929 #B2A437 #CCBF5A #DAD189 #E9E3B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBF5A#FFFFFF#000000##000000
##CCBF5A1.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)
#CEBA50
Deuteranopia (green-blind)
#D2C05F
Tritanopia (blue-blind)
#DAB3A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf5a;
/* rgb */ color: rgb(204, 191, 90);
/* oklch */ color: oklch(79.5% 0.123 102.0);
Tailwind
colors: {
  custom: {
    50: '#ded28c',
    500: '#ccbf5a',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf5a;
$custom-light: #ded28c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf5a",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 53.158,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79527,
    "c": 0.12323,
    "h": 102
  },
  "luminance": 0.50837
}

Semantic roles & 50–950 ramp

primary
#CCBF5A
secondary
#40488A
accent
#5CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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