#CBC654#CBC654

#CBC654 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.9% C 0.135 H 106.7°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CBC654
RGBrgb(203, 198, 84)
HSLhsl(57, 53%, 56%)
HSVhsv(57, 59%, 80%)
CMYKcmyk(0%, 2.5%, 58.6%, 20.4%)
CIE-LABlab(78.30, -12.71, 56.37)
CIE-LCHlch(78.30, 57.79, 102.70°)
OKLaboklab(80.86% -0.039 0.1298)
OKLCHoklch(80.86% 0.135 106.7)
XYZxyz(46.4244, 53.7262, 16.3105)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC654 #5459CB
analogous
#CB8B54 #CBC654 #95CB54
triadic
#CBC654 #54CBC6 #C654CB
tetradic
#CBC654 #54CB8B #5459CB #CB5495
square
#CBC654 #54CB8B #5459CB #CB5495
split-complementary
#CBC654 #5495CB #8B54CB
monochromatic
#7E7B26 #ADA835 #CBC654 #D9D683 #E8E5B2

Accessibility & contrast

On white

1.79
#CBC654 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CBC654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC654
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC654#FFFFFF#000000##000000
##CBC6541.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF47
Deuteranopia (green-blind)
#D8C45A
Tritanopia (blue-blind)
#D9BAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc654;
/* rgb */ color: rgb(203, 198, 84);
/* oklch */ color: oklch(80.9% 0.135 106.7);
Tailwind
colors: {
  custom: {
    50: '#ddd788',
    500: '#cbc654',
    950: '#000000',
  },
}
SCSS
$custom: #cbc654;
$custom-light: #ddd788;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc654",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 84
  },
  "hsl": {
    "h": 57.479,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80856,
    "c": 0.13548,
    "h": 106.7
  },
  "luminance": 0.53725
}

Semantic roles & 50–950 ramp

primary
#CBC654
secondary
#3D4086
accent
#51DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC654

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

Preview Lab → · Contrast checker → · Palette generator →

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