#CCBF58#CCBF58

#CCBF58 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.5% C 0.125 H 102.2°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#CCBF58
RGBrgb(204, 191, 88)
HSLhsl(53, 53%, 57%)
HSVhsv(53, 57%, 80%)
CMYKcmyk(0%, 6.4%, 56.9%, 20%)
CIE-LABlab(76.56, -8.42, 52.64)
CIE-LCHlch(76.56, 53.30, 99.09°)
OKLaboklab(79.5% -0.0264 0.1222)
OKLCHoklch(79.5% 0.125 102.2)
XYZxyz(45.2956, 50.8052, 16.6510)
Luminance0.5080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF58 #5865CC
analogous
#CC8558 #CCBF58 #9FCC58
triadic
#CCBF58 #58CCBF #BF58CC
tetradic
#CCBF58 #58CC85 #5865CC #CC589F
square
#CCBF58 #58CC85 #5865CC #CC589F
split-complementary
#CCBF58 #589FCC #8558CC
monochromatic
#827828 #B1A336 #CCBF58 #DAD187 #E9E3B6

Accessibility & contrast

On white

1.88
#CCBF58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#CCBF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF58
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF58#FFFFFF#000000##000000
##CCBF581.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA4E
Deuteranopia (green-blind)
#D3C05D
Tritanopia (blue-blind)
#DAB3A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf58;
/* rgb */ color: rgb(204, 191, 88);
/* oklch */ color: oklch(79.5% 0.125 102.2);
Tailwind
colors: {
  custom: {
    50: '#ded28a',
    500: '#ccbf58',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf58;
$custom-light: #ded28a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf58",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 88
  },
  "hsl": {
    "h": 53.276,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79504,
    "c": 0.12505,
    "h": 102.2
  },
  "luminance": 0.50804
}

Semantic roles & 50–950 ramp

primary
#CCBF58
secondary
#3F4789
accent
#5BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBF58

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

Preview Lab → · Contrast checker → · Palette generator →

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