#CCBF01#CCBF01

#CCBF01 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.0% C 0.167 H 104.6°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#CCBF01
RGBrgb(204, 191, 1)
HSLhsl(56, 99%, 40%)
HSVhsv(56, 100%, 80%)
CMYKcmyk(0%, 6.4%, 99.5%, 20%)
CIE-LABlab(76.13, -11.69, 77.21)
CIE-LCHlch(76.13, 78.09, 98.61°)
OKLaboklab(79.03% -0.0423 0.1618)
OKLCHoklch(79.03% 0.167 104.6)
XYZxyz(43.5403, 50.1031, 7.4061)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF01 #010ECC
analogous
#CC5A01 #CCBF01 #73CC01
triadic
#CCBF01 #01CCBF #BF01CC
tetradic
#CCBF01 #01CC5A #010ECC #CC0173
square
#CCBF01 #01CC5A #010ECC #CC0173
split-complementary
#CCBF01 #0173CC #5A01CC
monochromatic
#524D00 #8F8601 #CCBF01 #FEEE0C #FEF349

Accessibility & contrast

On white

1.91
#CCBF01 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#CCBF01 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF01
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF01#FFFFFF#000000##000000
##CCBF011.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#D6BF21
Tritanopia (blue-blind)
#DCB1A2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbf01;
/* rgb */ color: rgb(204, 191, 1);
/* oklch */ color: oklch(79.0% 0.167 104.6);
Tailwind
colors: {
  custom: {
    50: '#e1d167',
    500: '#ccbf01',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf01;
$custom-light: #e1d167;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf01",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 1
  },
  "hsl": {
    "h": 56.158,
    "s": 99.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.79027,
    "c": 0.16724,
    "h": 104.6
  },
  "luminance": 0.50101
}

Semantic roles & 50–950 ramp

primary
#CCBF01
secondary
#111660
accent
#37FF29
background
#FFFEFB
surface
#FEFBF0
border
#D6D4CB
text
#161407
muted
#85837C

Preview Lab

Preview with #CCBF01

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

Preview Lab → · Contrast checker → · Palette generator →

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