#CBC968#CBC968

#CBC968 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.120 H 107.7°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CBC968
RGBrgb(203, 201, 104)
HSLhsl(59, 49%, 60%)
HSVhsv(59, 49%, 80%)
CMYKcmyk(0%, 1%, 48.8%, 20.4%)
CIE-LABlab(79.31, -12.61, 48.28)
CIE-LCHlch(79.31, 49.90, 104.64°)
OKLaboklab(81.73% -0.0366 0.1144)
OKLCHoklch(81.73% 0.12 107.7)
XYZxyz(48.0150, 55.4705, 21.2716)
Luminance0.5547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC968 #686ACB
analogous
#CB9868 #CBC968 #9BCB68
triadic
#CBC968 #68CBC9 #C968CB
tetradic
#CBC968 #68CB98 #686ACB #CB689B
square
#CBC968 #68CB98 #686ACB #CB689B
split-complementary
#CBC968 #689BCB #9868CB
monochromatic
#89872F #B7B43F #CBC968 #DBD996 #EAEAC3

Accessibility & contrast

On white

1.74
#CBC968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CBC968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC968
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC968#FFFFFF#000000##000000
##CBC9681.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C25F
Deuteranopia (green-blind)
#D9C66D
Tritanopia (blue-blind)
#D7BEB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc968;
/* rgb */ color: rgb(203, 201, 104);
/* oklch */ color: oklch(81.7% 0.120 107.7);
Tailwind
colors: {
  custom: {
    50: '#ddd995',
    500: '#cbc968',
    950: '#000000',
  },
}
SCSS
$custom: #cbc968;
$custom-light: #ddd995;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc968",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 58.788,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81727,
    "c": 0.12013,
    "h": 107.7
  },
  "luminance": 0.55469
}

Semantic roles & 50–950 ramp

primary
#CBC968
secondary
#474890
accent
#2CBC29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC968

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

Preview Lab → · Contrast checker → · Palette generator →

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