#CCBE3B#CCBE3B

#CCBE3B is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.0% C 0.146 H 103.1°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#CCBE3B
RGBrgb(204, 190, 59)
HSLhsl(54, 59%, 52%)
HSVhsv(54, 71%, 80%)
CMYKcmyk(0%, 6.9%, 71.1%, 20%)
CIE-LABlab(76.06, -9.70, 64.29)
CIE-LCHlch(76.06, 65.02, 98.58°)
OKLaboklab(79.03% -0.0332 0.1426)
OKLCHoklch(79.03% 0.146 103.1)
XYZxyz(44.1066, 49.9819, 11.4610)
Luminance0.4998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBE3B #3B49CC
analogous
#CC763B #CCBE3B #92CC3B
triadic
#CCBE3B #3BCCBE #BE3BCC
tetradic
#CCBE3B #3BCC76 #3B49CC #CC3B92
square
#CCBE3B #3BCC76 #3B49CC #CC3B92
split-complementary
#CCBE3B #3B92CC #763BCC
monochromatic
#70681D #A0952A #CCBE3B #D9CE6C #E5DE9C

Accessibility & contrast

On white

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

On black

11.00
#CCBE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBE3B
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBE3B#FFFFFF#000000##000000
##CCBE3B1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB825
Deuteranopia (green-blind)
#D4BE44
Tritanopia (blue-blind)
#DBB1A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbe3b;
/* rgb */ color: rgb(204, 190, 59);
/* oklch */ color: oklch(79.0% 0.146 103.1);
Tailwind
colors: {
  custom: {
    50: '#dfd179',
    500: '#ccbe3b',
    950: '#000000',
  },
}
SCSS
$custom: #ccbe3b;
$custom-light: #dfd179;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbe3b",
  "rgb": {
    "r": 204,
    "g": 190,
    "b": 59
  },
  "hsl": {
    "h": 54.207,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79029,
    "c": 0.14644,
    "h": 103.1
  },
  "luminance": 0.4998
}

Semantic roles & 50–950 ramp

primary
#CCBE3B
secondary
#9298D1
accent
#55E246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16140A
muted
#84827C

Preview Lab

Preview with #CCBE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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