#CCBF3C#CCBF3C

#CCBF3C 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.09:1 contrast (WCAG AA passes).

Color values

HEX#CCBF3C
RGBrgb(204, 191, 60)
HSLhsl(55, 59%, 52%)
HSVhsv(55, 71%, 80%)
CMYKcmyk(0%, 6.4%, 70.6%, 20%)
CIE-LABlab(76.33, -10.16, 64.19)
CIE-LCHlch(76.33, 64.98, 99.00°)
OKLaboklab(79.25% -0.0344 0.1426)
OKLCHoklch(79.25% 0.147 103.6)
XYZxyz(44.3501, 50.4270, 11.6713)
Luminance0.5042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF3C #3C49CC
analogous
#CC773C #CCBF3C #91CC3C
triadic
#CCBF3C #3CCCBF #BF3CCC
tetradic
#CCBF3C #3CCC77 #3C49CC #CC3C91
square
#CCBF3C #3CCC77 #3C49CC #CC3C91
split-complementary
#CCBF3C #3C91CC #773CCC
monochromatic
#70691D #A1962A #CCBF3C #D9CF6D #E5DF9D

Accessibility & contrast

On white

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

On black

11.09
#CCBF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF3C
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF3C#FFFFFF#000000##000000
##CCBF3C1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbf3c;
/* rgb */ color: rgb(204, 191, 60);
/* oklch */ color: oklch(79.2% 0.147 103.6);
Tailwind
colors: {
  custom: {
    50: '#dfd27a',
    500: '#ccbf3c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf3c;
$custom-light: #dfd27a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf3c",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 60
  },
  "hsl": {
    "h": 54.583,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79247,
    "c": 0.14667,
    "h": 103.6
  },
  "luminance": 0.50425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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