#CBC668#CBC668

#CBC668 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.117 H 106.0°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CBC668
RGBrgb(203, 198, 104)
HSLhsl(57, 49%, 60%)
HSVhsv(57, 49%, 80%)
CMYKcmyk(0%, 2.5%, 48.8%, 20.4%)
CIE-LABlab(78.51, -11.09, 47.32)
CIE-LCHlch(78.51, 48.60, 103.19°)
OKLaboklab(81.09% -0.0322 0.1123)
OKLCHoklch(81.09% 0.117 106)
XYZxyz(47.3225, 54.0855, 21.0407)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC668 #686DCB
analogous
#CB9568 #CBC668 #9ECB68
triadic
#CBC668 #68CBC6 #C668CB
tetradic
#CBC668 #68CB95 #686DCB #CB689E
square
#CBC668 #68CB95 #686DCB #CB689E
split-complementary
#CBC668 #689ECB #9568CB
monochromatic
#89852F #B7B13F #CBC668 #DBD796 #EAE8C3

Accessibility & contrast

On white

1.78
#CBC668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CBC668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC668
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC668#FFFFFF#000000##000000
##CBC6681.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C060
Deuteranopia (green-blind)
#D6C46C
Tritanopia (blue-blind)
#D7BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc668;
/* rgb */ color: rgb(203, 198, 104);
/* oklch */ color: oklch(81.1% 0.117 106.0);
Tailwind
colors: {
  custom: {
    50: '#ddd795',
    500: '#cbc668',
    950: '#000000',
  },
}
SCSS
$custom: #cbc668;
$custom-light: #ddd795;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc668",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 104
  },
  "hsl": {
    "h": 56.97,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8109,
    "c": 0.11686,
    "h": 106
  },
  "luminance": 0.54084
}

Semantic roles & 50–950 ramp

primary
#CBC668
secondary
#474B90
accent
#31BC29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC668

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

Preview Lab → · Contrast checker → · Palette generator →

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