#CBC349#CBC349

#CBC349 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.1% C 0.141 H 105.6°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CBC349
RGBrgb(203, 195, 73)
HSLhsl(56, 56%, 54%)
HSVhsv(56, 64%, 80%)
CMYKcmyk(0%, 3.9%, 64%, 20.4%)
CIE-LABlab(77.41, -11.91, 60.12)
CIE-LCHlch(77.41, 61.29, 101.21°)
OKLaboklab(80.11% -0.0379 0.1362)
OKLCHoklch(80.11% 0.141 105.6)
XYZxyz(45.3480, 52.2093, 13.9907)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC349 #4951CB
analogous
#CB8249 #CBC349 #92CB49
triadic
#CBC349 #49CBC3 #C349CB
tetradic
#CBC349 #49CB82 #4951CB #CB4992
square
#CBC349 #49CB82 #4951CB #CB4992
split-complementary
#CBC349 #4992CB #8249CB
monochromatic
#777222 #A7A030 #CBC349 #D9D379 #E6E2A8

Accessibility & contrast

On white

1.84
#CBC349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#CBC349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC349
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC349#FFFFFF#000000##000000
##CBC3491.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC39
Deuteranopia (green-blind)
#D6C250
Tritanopia (blue-blind)
#D9B7AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc349;
/* rgb */ color: rgb(203, 195, 73);
/* oklch */ color: oklch(80.1% 0.141 105.6);
Tailwind
colors: {
  custom: {
    50: '#ded482',
    500: '#cbc349',
    950: '#000000',
  },
}
SCSS
$custom: #cbc349;
$custom-light: #ded482;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc349",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 73
  },
  "hsl": {
    "h": 56.308,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80112,
    "c": 0.14135,
    "h": 105.6
  },
  "luminance": 0.52208
}

Semantic roles & 50–950 ramp

primary
#CBC349
secondary
#383D80
accent
#52DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC349

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

Preview Lab → · Contrast checker → · Palette generator →

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