#CCBF3B#CCBF3B

#CCBF3B is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.2% C 0.147 H 103.6°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#CCBF3B
RGBrgb(204, 191, 59)
HSLhsl(55, 59%, 52%)
HSVhsv(55, 71%, 80%)
CMYKcmyk(0%, 6.4%, 71.1%, 20%)
CIE-LABlab(76.32, -10.21, 64.55)
CIE-LCHlch(76.32, 65.35, 98.99°)
OKLaboklab(79.24% -0.0346 0.1432)
OKLCHoklch(79.24% 0.147 103.6)
XYZxyz(44.3239, 50.4165, 11.5334)
Luminance0.5041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF3B #3B48CC
analogous
#CC773B #CCBF3B #90CC3B
triadic
#CCBF3B #3BCCBF #BF3BCC
tetradic
#CCBF3B #3BCC77 #3B48CC #CC3B90
square
#CCBF3B #3BCC77 #3B48CC #CC3B90
split-complementary
#CCBF3B #3B90CC #773BCC
monochromatic
#70681D #A0962A #CCBF3B #D9CF6C #E5DF9C

Accessibility & contrast

On white

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

On black

11.08
#CCBF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF3B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF3B#FFFFFF#000000##000000
##CCBF3B1.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B925
Deuteranopia (green-blind)
#D4BF44
Tritanopia (blue-blind)
#DBB2A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbf3b;
/* rgb */ color: rgb(204, 191, 59);
/* oklch */ color: oklch(79.2% 0.147 103.6);
Tailwind
colors: {
  custom: {
    50: '#dfd279',
    500: '#ccbf3b',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf3b;
$custom-light: #dfd279;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf3b",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 59
  },
  "hsl": {
    "h": 54.621,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7924,
    "c": 0.14731,
    "h": 103.6
  },
  "luminance": 0.50415
}

Semantic roles & 50–950 ramp

primary
#CCBF3B
secondary
#323979
accent
#54E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCBF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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