#CBC656#CBC656

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

Color values

HEX#CBC656
RGBrgb(203, 198, 86)
HSLhsl(57, 53%, 57%)
HSVhsv(57, 58%, 80%)
CMYKcmyk(0%, 2.5%, 57.6%, 20.4%)
CIE-LABlab(78.32, -12.56, 55.50)
CIE-LCHlch(78.32, 56.91, 102.75°)
OKLaboklab(80.88% -0.0383 0.1281)
OKLCHoklch(80.88% 0.134 106.7)
XYZxyz(46.5038, 53.7580, 16.7290)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC656 #565BCB
analogous
#CB8C56 #CBC656 #96CB56
triadic
#CBC656 #56CBC6 #C656CB
tetradic
#CBC656 #56CB8C #565BCB #CB5696
square
#CBC656 #56CB8C #565BCB #CB5696
split-complementary
#CBC656 #5696CB #8C56CB
monochromatic
#7F7C27 #AEA936 #CBC656 #D9D685 #E8E6B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC656#FFFFFF#000000##000000
##CBC6561.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)
#D5BF4A
Deuteranopia (green-blind)
#D8C45C
Tritanopia (blue-blind)
#D8BAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc656;
/* rgb */ color: rgb(203, 198, 86);
/* oklch */ color: oklch(80.9% 0.134 106.7);
Tailwind
colors: {
  custom: {
    50: '#ddd78a',
    500: '#cbc656',
    950: '#000000',
  },
}
SCSS
$custom: #cbc656;
$custom-light: #ddd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc656",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 57.436,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80877,
    "c": 0.13377,
    "h": 106.7
  },
  "luminance": 0.53757
}

Semantic roles & 50–950 ramp

primary
#CBC656
secondary
#3E4187
accent
#52DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC656

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

Preview Lab → · Contrast checker → · Palette generator →

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