#CCBF4C#CCBF4C

#CCBF4C is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.4% C 0.135 H 102.9°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#CCBF4C
RGBrgb(204, 191, 76)
HSLhsl(54, 56%, 55%)
HSVhsv(54, 63%, 80%)
CMYKcmyk(0%, 6.4%, 62.7%, 20%)
CIE-LABlab(76.45, -9.26, 57.86)
CIE-LCHlch(76.45, 58.60, 99.09°)
OKLaboklab(79.38% -0.0301 0.1318)
OKLCHoklch(79.38% 0.135 102.9)
XYZxyz(44.8389, 50.6225, 14.2453)
Luminance0.5062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF4C #4C59CC
analogous
#CC7F4C #CCBF4C #99CC4C
triadic
#CCBF4C #4CCCBF #BF4CCC
tetradic
#CCBF4C #4CCC7F #4C59CC #CC4C99
square
#CCBF4C #4CCC7F #4C59CC #CC4C99
split-complementary
#CCBF4C #4C99CC #7F4CCC
monochromatic
#7B7223 #AA9E31 #CCBF4C #DAD07C #E7E1AB

Accessibility & contrast

On white

1.89
#CCBF4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#CCBF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF4C
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF4C#FFFFFF#000000##000000
##CCBF4C1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB93E
Deuteranopia (green-blind)
#D3BF52
Tritanopia (blue-blind)
#DBB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf4c;
/* rgb */ color: rgb(204, 191, 76);
/* oklch */ color: oklch(79.4% 0.135 102.9);
Tailwind
colors: {
  custom: {
    50: '#dfd283',
    500: '#ccbf4c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf4c;
$custom-light: #dfd283;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf4c",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 76
  },
  "hsl": {
    "h": 53.906,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7938,
    "c": 0.13521,
    "h": 102.9
  },
  "luminance": 0.50621
}

Semantic roles & 50–950 ramp

primary
#CCBF4C
secondary
#394183
accent
#58DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCBF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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