#CCBD68#CCBD68

#CCBD68 is a light, moderate yellow. Relative luminance 0.502; OKLCH L 79.3% C 0.108 H 99.5°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#CCBD68
RGBrgb(204, 189, 104)
HSLhsl(51, 50%, 60%)
HSVhsv(51, 49%, 80%)
CMYKcmyk(0%, 7.4%, 49%, 20%)
CIE-LABlab(76.21, -6.05, 44.57)
CIE-LCHlch(76.21, 44.98, 97.73°)
OKLaboklab(79.29% -0.0178 0.1063)
OKLCHoklch(79.29% 0.108 99.5)
XYZxyz(45.5995, 50.2337, 20.3881)
Luminance0.5023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD68 #6877CC
analogous
#CC8B68 #CCBD68 #A9CC68
triadic
#CCBD68 #68CCBD #BD68CC
tetradic
#CCBD68 #68CC8B #6877CC #CC68A9
square
#CCBD68 #68CC8B #6877CC #CC68A9
split-complementary
#CCBD68 #68A9CC #8B68CC
monochromatic
#8B7D2F #B8A63E #CCBD68 #DBD196 #EBE5C3

Accessibility & contrast

On white

1.90
#CCBD68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#CCBD68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD68
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD68#FFFFFF#000000##000000
##CCBD681.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB961
Deuteranopia (green-blind)
#D0BE6C
Tritanopia (blue-blind)
#D9B2A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbd68;
/* rgb */ color: rgb(204, 189, 104);
/* oklch */ color: oklch(79.3% 0.108 99.5);
Tailwind
colors: {
  custom: {
    50: '#ddd095',
    500: '#ccbd68',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd68;
$custom-light: #ddd095;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd68",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 104
  },
  "hsl": {
    "h": 51,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.79286,
    "c": 0.10773,
    "h": 99.5
  },
  "luminance": 0.50232
}

Semantic roles & 50–950 ramp

primary
#CCBD68
secondary
#475292
accent
#3FBD29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCBD68

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

Preview Lab → · Contrast checker → · Palette generator →

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