#CBC751#CBC751

#CBC751 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.0% C 0.139 H 107.3°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CBC751
RGBrgb(203, 199, 81)
HSLhsl(58, 54%, 56%)
HSVhsv(58, 60%, 80%)
CMYKcmyk(0%, 2%, 60.1%, 20.4%)
CIE-LABlab(78.54, -13.42, 57.95)
CIE-LCHlch(78.54, 59.48, 103.04°)
OKLaboklab(81.04% -0.0413 0.1327)
OKLCHoklch(81.04% 0.139 107.3)
XYZxyz(46.5387, 54.1389, 15.7813)
Luminance0.5414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC751 #5155CB
analogous
#CB8A51 #CBC751 #92CB51
triadic
#CBC751 #51CBC7 #C751CB
tetradic
#CBC751 #51CB8A #5155CB #CB5192
square
#CBC751 #51CB8A #5155CB #CB5192
split-complementary
#CBC751 #5192CB #8A51CB
monochromatic
#7C7A25 #ACA833 #CBC751 #D9D680 #E7E5AF

Accessibility & contrast

On white

1.78
#CBC751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CBC751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC751
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC751#FFFFFF#000000##000000
##CBC7511.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C043
Deuteranopia (green-blind)
#D9C558
Tritanopia (blue-blind)
#D9BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc751;
/* rgb */ color: rgb(203, 199, 81);
/* oklch */ color: oklch(81.0% 0.139 107.3);
Tailwind
colors: {
  custom: {
    50: '#ded787',
    500: '#cbc751',
    950: '#000000',
  },
}
SCSS
$custom: #cbc751;
$custom-light: #ded787;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc751",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 58.033,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81039,
    "c": 0.139,
    "h": 107.3
  },
  "luminance": 0.54137
}

Semantic roles & 50–950 ramp

primary
#CBC751
secondary
#3C3E84
accent
#4FDD4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC751

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

Preview Lab → · Contrast checker → · Palette generator →

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