#CCBF33#CCBF33

#CCBF33 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.2% C 0.152 H 103.9°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#CCBF33
RGBrgb(204, 191, 51)
HSLhsl(55, 60%, 50%)
HSVhsv(55, 75%, 80%)
CMYKcmyk(0%, 6.4%, 75%, 20%)
CIE-LABlab(76.28, -10.57, 67.32)
CIE-LCHlch(76.28, 68.14, 98.92°)
OKLaboklab(79.19% -0.0364 0.1476)
OKLCHoklch(79.19% 0.152 103.9)
XYZxyz(44.1321, 50.3398, 10.5232)
Luminance0.5034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF33 #3340CC
analogous
#CC7333 #CCBF33 #8CCC33
triadic
#CCBF33 #33CCBF #BF33CC
tetradic
#CCBF33 #33CC73 #3340CC #CC338C
square
#CCBF33 #33CC73 #3340CC #CC338C
split-complementary
#CCBF33 #338CCC #7333CC
monochromatic
#6A631B #9B9127 #CCBF33 #D8CE64 #E4DE95

Accessibility & contrast

On white

1.90
#CCBF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#CCBF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF33
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF33#FFFFFF#000000##000000
##CCBF331.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B815
Deuteranopia (green-blind)
#D5BF3D
Tritanopia (blue-blind)
#DCB2A4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbf33;
/* rgb */ color: rgb(204, 191, 51);
/* oklch */ color: oklch(79.2% 0.152 103.9);
Tailwind
colors: {
  custom: {
    50: '#e0d175',
    500: '#ccbf33',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf33;
$custom-light: #e0d175;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf33",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 51
  },
  "hsl": {
    "h": 54.902,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.79188,
    "c": 0.15201,
    "h": 103.9
  },
  "luminance": 0.50338
}

Semantic roles & 50–950 ramp

primary
#CCBF33
secondary
#2F3574
accent
#52E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CCBF33

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

Preview Lab → · Contrast checker → · Palette generator →

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