#CCBF4B#CCBF4B

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

Color values

HEX#CCBF4B
RGBrgb(204, 191, 75)
HSLhsl(54, 56%, 55%)
HSVhsv(54, 63%, 80%)
CMYKcmyk(0%, 6.4%, 63.2%, 20%)
CIE-LABlab(76.44, -9.32, 58.28)
CIE-LCHlch(76.44, 59.02, 99.09°)
OKLaboklab(79.37% -0.0304 0.1326)
OKLCHoklch(79.37% 0.136 102.9)
XYZxyz(44.8044, 50.6087, 14.0636)
Luminance0.5061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF4B #4B58CC
analogous
#CC7E4B #CCBF4B #99CC4B
triadic
#CCBF4B #4BCCBF #BF4BCC
tetradic
#CCBF4B #4BCC7E #4B58CC #CC4B99
square
#CCBF4B #4BCC7E #4B58CC #CC4B99
split-complementary
#CCBF4B #4B99CC #7E4BCC
monochromatic
#7A7123 #AA9D30 #CCBF4B #DAD07B #E7E1AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBF4B#FFFFFF#000000##000000
##CCBF4B1.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)
#CFB93D
Deuteranopia (green-blind)
#D3BF52
Tritanopia (blue-blind)
#DBB2A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf4b;
/* rgb */ color: rgb(204, 191, 75);
/* oklch */ color: oklch(79.4% 0.136 102.9);
Tailwind
colors: {
  custom: {
    50: '#dfd282',
    500: '#ccbf4b',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf4b;
$custom-light: #dfd282;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf4b",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 75
  },
  "hsl": {
    "h": 53.953,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79371,
    "c": 0.13599,
    "h": 102.9
  },
  "luminance": 0.50607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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