#CBC768#CBC768

#CBC768 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.118 H 106.6°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CBC768
RGBrgb(203, 199, 104)
HSLhsl(58, 49%, 60%)
HSVhsv(58, 49%, 80%)
CMYKcmyk(0%, 2%, 48.8%, 20.4%)
CIE-LABlab(78.78, -11.60, 47.64)
CIE-LCHlch(78.78, 49.03, 103.68°)
OKLaboklab(81.3% -0.0337 0.113)
OKLCHoklch(81.3% 0.118 106.6)
XYZxyz(47.5519, 54.5441, 21.1172)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC768 #686CCB
analogous
#CB9668 #CBC768 #9DCB68
triadic
#CBC768 #68CBC7 #C768CB
tetradic
#CBC768 #68CB96 #686CCB #CB689D
square
#CBC768 #68CB96 #686CCB #CB689D
split-complementary
#CBC768 #689DCB #9668CB
monochromatic
#89862F #B7B23F #CBC768 #DBD896 #EAE9C3

Accessibility & contrast

On white

1.76
#CBC768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CBC768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC768
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC768#FFFFFF#000000##000000
##CBC7681.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C160
Deuteranopia (green-blind)
#D7C56D
Tritanopia (blue-blind)
#D7BCB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc768;
/* rgb */ color: rgb(203, 199, 104);
/* oklch */ color: oklch(81.3% 0.118 106.6);
Tailwind
colors: {
  custom: {
    50: '#ddd795',
    500: '#cbc768',
    950: '#000000',
  },
}
SCSS
$custom: #cbc768;
$custom-light: #ddd795;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc768",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 104
  },
  "hsl": {
    "h": 57.576,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81302,
    "c": 0.11794,
    "h": 106.6
  },
  "luminance": 0.54543
}

Semantic roles & 50–950 ramp

primary
#CBC768
secondary
#474A90
accent
#2FBC29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC768

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

Preview Lab → · Contrast checker → · Palette generator →

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