#CCBF59#CCBF59

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

Color values

HEX#CCBF59
RGBrgb(204, 191, 89)
HSLhsl(53, 53%, 57%)
HSVhsv(53, 56%, 80%)
CMYKcmyk(0%, 6.4%, 56.4%, 20%)
CIE-LABlab(76.57, -8.34, 52.18)
CIE-LCHlch(76.57, 52.85, 99.08°)
OKLaboklab(79.52% -0.026 0.1214)
OKLCHoklch(79.52% 0.124 102.1)
XYZxyz(45.3373, 50.8219, 16.8707)
Luminance0.5082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF59 #5966CC
analogous
#CC8559 #CCBF59 #A0CC59
triadic
#CCBF59 #59CCBF #BF59CC
tetradic
#CCBF59 #59CC85 #5966CC #CC59A0
square
#CCBF59 #59CC85 #5966CC #CC59A0
split-complementary
#CCBF59 #59A0CC #8559CC
monochromatic
#837828 #B1A336 #CCBF59 #DAD188 #E9E3B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBF59#FFFFFF#000000##000000
##CCBF591.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)
#CEBA4F
Deuteranopia (green-blind)
#D2C05E
Tritanopia (blue-blind)
#DAB3A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf59;
/* rgb */ color: rgb(204, 191, 89);
/* oklch */ color: oklch(79.5% 0.124 102.1);
Tailwind
colors: {
  custom: {
    50: '#ded28b',
    500: '#ccbf59',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf59;
$custom-light: #ded28b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf59",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 89
  },
  "hsl": {
    "h": 53.217,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79515,
    "c": 0.12414,
    "h": 102.1
  },
  "luminance": 0.5082
}

Semantic roles & 50–950 ramp

primary
#CCBF59
secondary
#3F488A
accent
#5CDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBF59

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

Preview Lab → · Contrast checker → · Palette generator →

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