#CCBD59#CCBD59

#CCBD59 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.1% C 0.122 H 100.9°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#CCBD59
RGBrgb(204, 189, 89)
HSLhsl(52, 53%, 57%)
HSVhsv(52, 56%, 80%)
CMYKcmyk(0%, 7.4%, 56.4%, 20%)
CIE-LABlab(76.04, -7.31, 51.58)
CIE-LCHlch(76.04, 52.10, 98.07°)
OKLaboklab(79.1% -0.0231 0.1201)
OKLCHoklch(79.1% 0.122 100.9)
XYZxyz(44.9042, 49.9555, 16.7263)
Luminance0.4995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD59 #5968CC
analogous
#CC8459 #CCBD59 #A1CC59
triadic
#CCBD59 #59CCBD #BD59CC
tetradic
#CCBD59 #59CC84 #5968CC #CC59A1
square
#CCBD59 #59CC84 #5968CC #CC59A1
split-complementary
#CCBD59 #59A1CC #8459CC
monochromatic
#837728 #B1A136 #CCBD59 #DAD088 #E9E2B7

Accessibility & contrast

On white

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

On black

10.99
#CCBD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD59
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD59#FFFFFF#000000##000000
##CCBD591.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB84F
Deuteranopia (green-blind)
#D1BE5E
Tritanopia (blue-blind)
#DAB1A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbd59;
/* rgb */ color: rgb(204, 189, 89);
/* oklch */ color: oklch(79.1% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#ded08b',
    500: '#ccbd59',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd59;
$custom-light: #ded08b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd59",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 89
  },
  "hsl": {
    "h": 52.174,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79096,
    "c": 0.12228,
    "h": 100.9
  },
  "luminance": 0.49954
}

Semantic roles & 50–950 ramp

primary
#CCBD59
secondary
#A9AFD8
accent
#5EDC4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #CCBD59

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

Preview Lab → · Contrast checker → · Palette generator →

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