#CCBF4D#CCBF4D

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

Color values

HEX#CCBF4D
RGBrgb(204, 191, 77)
HSLhsl(54, 55%, 55%)
HSVhsv(54, 62%, 80%)
CMYKcmyk(0%, 6.4%, 62.3%, 20%)
CIE-LABlab(76.46, -9.19, 57.44)
CIE-LCHlch(76.46, 58.17, 99.09°)
OKLaboklab(79.39% -0.0298 0.1311)
OKLCHoklch(79.39% 0.134 102.8)
XYZxyz(44.8739, 50.6365, 14.4298)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF4D #4D5ACC
analogous
#CC7F4D #CCBF4D #9ACC4D
triadic
#CCBF4D #4DCCBF #BF4DCC
tetradic
#CCBF4D #4DCC7F #4D5ACC #CC4D9A
square
#CCBF4D #4DCC7F #4D5ACC #CC4D9A
split-complementary
#CCBF4D #4D9ACC #7F4DCC
monochromatic
#7B7223 #AB9E31 #CCBF4D #DAD07D #E7E1AC

Accessibility & contrast

On white

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

On black

11.13
#CCBF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF4D
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF4D#FFFFFF#000000##000000
##CCBF4D1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbf4d;
/* rgb */ color: rgb(204, 191, 77);
/* oklch */ color: oklch(79.4% 0.134 102.8);
Tailwind
colors: {
  custom: {
    50: '#dfd284',
    500: '#ccbf4d',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf4d;
$custom-light: #dfd284;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf4d",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 77
  },
  "hsl": {
    "h": 53.858,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7939,
    "c": 0.13441,
    "h": 102.8
  },
  "luminance": 0.50635
}

Semantic roles & 50–950 ramp

primary
#CCBF4D
secondary
#3A4183
accent
#58DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCBF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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