#CBC756#CBC756

#CBC756 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.135 H 107.2°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CBC756
RGBrgb(203, 199, 86)
HSLhsl(58, 53%, 57%)
HSVhsv(58, 58%, 80%)
CMYKcmyk(0%, 2%, 57.6%, 20.4%)
CIE-LABlab(78.59, -13.07, 55.80)
CIE-LCHlch(78.59, 57.31, 103.18°)
OKLaboklab(81.09% -0.0398 0.1288)
OKLCHoklch(81.09% 0.135 107.2)
XYZxyz(46.7332, 54.2166, 16.8054)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC756 #565ACB
analogous
#CB8D56 #CBC756 #95CB56
triadic
#CBC756 #56CBC7 #C756CB
tetradic
#CBC756 #56CB8D #565ACB #CB5695
square
#CBC756 #56CB8D #565ACB #CB5695
split-complementary
#CBC756 #5695CB #8D56CB
monochromatic
#7F7C27 #AEAA36 #CBC756 #D9D785 #E8E6B4

Accessibility & contrast

On white

1.77
#CBC756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CBC756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC756
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC756#FFFFFF#000000##000000
##CBC7561.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#D8C55C
Tritanopia (blue-blind)
#D8BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc756;
/* rgb */ color: rgb(203, 199, 86);
/* oklch */ color: oklch(81.1% 0.135 107.2);
Tailwind
colors: {
  custom: {
    50: '#ddd78a',
    500: '#cbc756',
    950: '#000000',
  },
}
SCSS
$custom: #cbc756;
$custom-light: #ddd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc756",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 57.949,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8109,
    "c": 0.1348,
    "h": 107.2
  },
  "luminance": 0.54215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC756

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

Preview Lab → · Contrast checker → · Palette generator →

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