#CCBF5C#CCBF5C

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

Color values

HEX#CCBF5C
RGBrgb(204, 191, 92)
HSLhsl(53, 52%, 58%)
HSVhsv(53, 55%, 80%)
CMYKcmyk(0%, 6.4%, 54.9%, 20%)
CIE-LABlab(76.60, -8.11, 50.82)
CIE-LCHlch(76.60, 51.46, 99.07°)
OKLaboklab(79.55% -0.025 0.1188)
OKLCHoklch(79.55% 0.121 101.9)
XYZxyz(45.4659, 50.8733, 17.5477)
Luminance0.5087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF5C #5C69CC
analogous
#CC875C #CCBF5C #A1CC5C
triadic
#CCBF5C #5CCCBF #BF5CCC
tetradic
#CCBF5C #5CCC87 #5C69CC #CC5CA1
square
#CCBF5C #5CCC87 #5C69CC #CC5CA1
split-complementary
#CCBF5C #5CA1CC #875CCC
monochromatic
#847A29 #B3A538 #CCBF5C #DBD18B #E9E4B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBF5C#FFFFFF#000000##000000
##CCBF5C1.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)
#CEBA52
Deuteranopia (green-blind)
#D2C061
Tritanopia (blue-blind)
#DAB3A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf5c;
/* rgb */ color: rgb(204, 191, 92);
/* oklch */ color: oklch(79.5% 0.121 101.9);
Tailwind
colors: {
  custom: {
    50: '#ded28d',
    500: '#ccbf5c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf5c;
$custom-light: #ded28d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf5c",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 92
  },
  "hsl": {
    "h": 53.036,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.7955,
    "c": 0.12139,
    "h": 101.9
  },
  "luminance": 0.50872
}

Semantic roles & 50–950 ramp

primary
#CCBF5C
secondary
#41498C
accent
#5DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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