#CBC351#CBC351

#CBC351 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.135 H 105.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CBC351
RGBrgb(203, 195, 81)
HSLhsl(56, 54%, 56%)
HSVhsv(56, 60%, 80%)
CMYKcmyk(0%, 3.9%, 60.1%, 20.4%)
CIE-LABlab(77.47, -11.39, 56.78)
CIE-LCHlch(77.47, 57.91, 101.34°)
OKLaboklab(80.19% -0.0356 0.1302)
OKLCHoklch(80.19% 0.135 105.3)
XYZxyz(45.6305, 52.3223, 15.4786)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC351 #5159CB
analogous
#CB8651 #CBC351 #96CB51
triadic
#CBC351 #51CBC3 #C351CB
tetradic
#CBC351 #51CB86 #5159CB #CB5196
square
#CBC351 #51CB86 #5159CB #CB5196
split-complementary
#CBC351 #5196CB #8651CB
monochromatic
#7C7725 #ACA433 #CBC351 #D9D380 #E7E3AF

Accessibility & contrast

On white

1.83
#CBC351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CBC351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC351
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC351#FFFFFF#000000##000000
##CBC3511.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC44
Deuteranopia (green-blind)
#D6C257
Tritanopia (blue-blind)
#D9B7AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc351;
/* rgb */ color: rgb(203, 195, 81);
/* oklch */ color: oklch(80.2% 0.135 105.3);
Tailwind
colors: {
  custom: {
    50: '#ded486',
    500: '#cbc351',
    950: '#000000',
  },
}
SCSS
$custom: #cbc351;
$custom-light: #ded486;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc351",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 56.066,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80188,
    "c": 0.135,
    "h": 105.3
  },
  "luminance": 0.52321
}

Semantic roles & 50–950 ramp

primary
#CBC351
secondary
#3C4184
accent
#54DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC351

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

Preview Lab → · Contrast checker → · Palette generator →

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