#CBC754#CBC754

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

Color values

HEX#CBC754
RGBrgb(203, 199, 84)
HSLhsl(58, 53%, 56%)
HSVhsv(58, 59%, 80%)
CMYKcmyk(0%, 2%, 58.6%, 20.4%)
CIE-LABlab(78.57, -13.21, 56.67)
CIE-LCHlch(78.57, 58.19, 103.12°)
OKLaboklab(81.07% -0.0404 0.1304)
OKLCHoklch(81.07% 0.137 107.2)
XYZxyz(46.6537, 54.1849, 16.3870)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC754 #5458CB
analogous
#CB8C54 #CBC754 #94CB54
triadic
#CBC754 #54CBC7 #C754CB
tetradic
#CBC754 #54CB8C #5458CB #CB5494
square
#CBC754 #54CB8C #5458CB #CB5494
split-complementary
#CBC754 #5494CB #8C54CB
monochromatic
#7E7B26 #ADA935 #CBC754 #D9D683 #E8E6B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC754#FFFFFF#000000##000000
##CBC7541.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)
#D6C047
Deuteranopia (green-blind)
#D9C55A
Tritanopia (blue-blind)
#D8BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc754;
/* rgb */ color: rgb(203, 199, 84);
/* oklch */ color: oklch(81.1% 0.137 107.2);
Tailwind
colors: {
  custom: {
    50: '#ddd788',
    500: '#cbc754',
    950: '#000000',
  },
}
SCSS
$custom: #cbc754;
$custom-light: #ddd788;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc754",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 57.983,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81069,
    "c": 0.1365,
    "h": 107.2
  },
  "luminance": 0.54183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC754

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

Preview Lab → · Contrast checker → · Palette generator →

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