#CCBF41#CCBF41

#CCBF41 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.3% C 0.143 H 103.4°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#CCBF41
RGBrgb(204, 191, 65)
HSLhsl(54, 58%, 53%)
HSVhsv(54, 68%, 80%)
CMYKcmyk(0%, 6.4%, 68.1%, 20%)
CIE-LABlab(76.36, -9.91, 62.30)
CIE-LCHlch(76.36, 63.09, 99.03°)
OKLaboklab(79.29% -0.0332 0.1395)
OKLCHoklch(79.29% 0.143 103.4)
XYZxyz(44.4886, 50.4824, 12.4007)
Luminance0.5048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF41 #414ECC
analogous
#CC7941 #CCBF41 #94CC41
triadic
#CCBF41 #41CCBF #BF41CC
tetradic
#CCBF41 #41CC79 #414ECC #CC4194
square
#CCBF41 #41CC79 #414ECC #CC4194
split-complementary
#CCBF41 #4194CC #7941CC
monochromatic
#746C1F #A4992C #CCBF41 #D9CF71 #E6E0A1

Accessibility & contrast

On white

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

On black

11.10
#CCBF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF41
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF41#FFFFFF#000000##000000
##CCBF411.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92F
Deuteranopia (green-blind)
#D4BF49
Tritanopia (blue-blind)
#DBB2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbf41;
/* rgb */ color: rgb(204, 191, 65);
/* oklch */ color: oklch(79.3% 0.143 103.4);
Tailwind
colors: {
  custom: {
    50: '#dfd27d',
    500: '#ccbf41',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf41;
$custom-light: #dfd27d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf41",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 65
  },
  "hsl": {
    "h": 54.388,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79285,
    "c": 0.14336,
    "h": 103.4
  },
  "luminance": 0.50481
}

Semantic roles & 50–950 ramp

primary
#CCBF41
secondary
#353C7C
accent
#55E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCBF41

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

Preview Lab → · Contrast checker → · Palette generator →

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