#CBC661#CBC661

#CBC661 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.124 H 106.3°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CBC661
RGBrgb(203, 198, 97)
HSLhsl(57, 50%, 59%)
HSVhsv(57, 52%, 80%)
CMYKcmyk(0%, 2.5%, 52.2%, 20.4%)
CIE-LABlab(78.43, -11.70, 50.57)
CIE-LCHlch(78.43, 51.91, 103.02°)
OKLaboklab(81% -0.0347 0.1188)
OKLCHoklch(81% 0.124 106.3)
XYZxyz(46.9816, 53.9491, 19.2453)
Luminance0.5395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC661 #6166CB
analogous
#CB9161 #CBC661 #9BCB61
triadic
#CBC661 #61CBC6 #C661CB
tetradic
#CBC661 #61CB91 #6166CB #CB619B
square
#CBC661 #61CB91 #6166CB #CB619B
split-complementary
#CBC661 #619BCB #9161CB
monochromatic
#86812C #B4AE3B #CBC661 #DAD78F #E9E7BD

Accessibility & contrast

On white

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

On black

11.79
#CBC661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC661
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC661#FFFFFF#000000##000000
##CBC6611.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C057
Deuteranopia (green-blind)
#D7C466
Tritanopia (blue-blind)
#D8BBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc661;
/* rgb */ color: rgb(203, 198, 97);
/* oklch */ color: oklch(81.0% 0.124 106.3);
Tailwind
colors: {
  custom: {
    50: '#ddd791',
    500: '#cbc661',
    950: '#000000',
  },
}
SCSS
$custom: #cbc661;
$custom-light: #ddd791;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc661",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 97
  },
  "hsl": {
    "h": 57.17,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81001,
    "c": 0.12374,
    "h": 106.3
  },
  "luminance": 0.53948
}

Semantic roles & 50–950 ramp

primary
#CBC661
secondary
#43478D
accent
#54DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC661

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

Preview Lab → · Contrast checker → · Palette generator →

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