#CCB968#CCB968

#CCB968 is a light, moderate yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.104 H 96.5°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CCB968
RGBrgb(204, 185, 104)
HSLhsl(49, 50%, 60%)
HSVhsv(49, 49%, 80%)
CMYKcmyk(0%, 9.3%, 49%, 20%)
CIE-LABlab(75.16, -3.96, 43.29)
CIE-LCHlch(75.16, 43.47, 95.23°)
OKLaboklab(78.45% -0.0118 0.1034)
OKLCHoklch(78.45% 0.104 96.5)
XYZxyz(44.7509, 48.5365, 20.1052)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB968 #687BCC
analogous
#CC8768 #CCB968 #ADCC68
triadic
#CCB968 #68CCB9 #B968CC
tetradic
#CCB968 #68CC87 #687BCC #CC68AD
square
#CCB968 #68CC87 #687BCC #CC68AD
split-complementary
#CCB968 #68ADCC #8768CC
monochromatic
#8B792F #B8A13E #CCB968 #DBCE96 #EBE3C3

Accessibility & contrast

On white

1.96
#CCB968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#CCB968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB968
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB968#FFFFFF#000000##000000
##CCB9681.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B561
Deuteranopia (green-blind)
#CDBC6B
Tritanopia (blue-blind)
#D9AEA6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccb968;
/* rgb */ color: rgb(204, 185, 104);
/* oklch */ color: oklch(78.5% 0.104 96.5);
Tailwind
colors: {
  custom: {
    50: '#ddcd95',
    500: '#ccb968',
    950: '#000000',
  },
}
SCSS
$custom: #ccb968;
$custom-light: #ddcd95;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb968",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 104
  },
  "hsl": {
    "h": 48.6,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.78454,
    "c": 0.10409,
    "h": 96.5
  },
  "luminance": 0.48535
}

Semantic roles & 50–950 ramp

primary
#CCB968
secondary
#B5BCDB
accent
#45BD29
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB968

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

Preview Lab → · Contrast checker → · Palette generator →

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