#CBC755#CBC755

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

Color values

HEX#CBC755
RGBrgb(203, 199, 85)
HSLhsl(58, 53%, 56%)
HSVhsv(58, 58%, 80%)
CMYKcmyk(0%, 2%, 58.1%, 20.4%)
CIE-LABlab(78.58, -13.14, 56.23)
CIE-LCHlch(78.58, 57.75, 103.15°)
OKLaboklab(81.08% -0.0401 0.1296)
OKLCHoklch(81.08% 0.136 107.2)
XYZxyz(46.6932, 54.2006, 16.5947)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC755 #5559CB
analogous
#CB8C55 #CBC755 #94CB55
triadic
#CBC755 #55CBC7 #C755CB
tetradic
#CBC755 #55CB8C #5559CB #CB5594
square
#CBC755 #55CB8C #5559CB #CB5594
split-complementary
#CBC755 #5594CB #8C55CB
monochromatic
#7F7C27 #AEAA35 #CBC755 #D9D684 #E8E6B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC755#FFFFFF#000000##000000
##CBC7551.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)
#D6C049
Deuteranopia (green-blind)
#D8C55B
Tritanopia (blue-blind)
#D8BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc755;
/* rgb */ color: rgb(203, 199, 85);
/* oklch */ color: oklch(81.1% 0.136 107.2);
Tailwind
colors: {
  custom: {
    50: '#ddd789',
    500: '#cbc755',
    950: '#000000',
  },
}
SCSS
$custom: #cbc755;
$custom-light: #ddd789;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc755",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 85
  },
  "hsl": {
    "h": 57.966,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81079,
    "c": 0.13565,
    "h": 107.2
  },
  "luminance": 0.54199
}

Semantic roles & 50–950 ramp

primary
#CBC755
secondary
#3E4087
accent
#50DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC755

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

Preview Lab → · Contrast checker → · Palette generator →

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