#CBC049#CBC049

#CBC049 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.5% C 0.139 H 104.0°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#CBC049
RGBrgb(203, 192, 73)
HSLhsl(55, 56%, 54%)
HSVhsv(55, 64%, 80%)
CMYKcmyk(0%, 5.4%, 64%, 20.4%)
CIE-LABlab(76.61, -10.38, 59.28)
CIE-LCHlch(76.61, 60.18, 99.93°)
OKLaboklab(79.47% -0.0336 0.1344)
OKLCHoklch(79.47% 0.139 104)
XYZxyz(44.6825, 50.8785, 13.7689)
Luminance0.5088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC049 #4954CB
analogous
#CB7F49 #CBC049 #95CB49
triadic
#CBC049 #49CBC0 #C049CB
tetradic
#CBC049 #49CB7F #4954CB #CB4995
square
#CBC049 #49CB7F #4954CB #CB4995
split-complementary
#CBC049 #4995CB #7F49CB
monochromatic
#777022 #A79D30 #CBC049 #D9D079 #E6E1A8

Accessibility & contrast

On white

1.88
#CBC049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#CBC049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC049
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC049#FFFFFF#000000##000000
##CBC0491.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3A
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#D9B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc049;
/* rgb */ color: rgb(203, 192, 73);
/* oklch */ color: oklch(79.5% 0.139 104.0);
Tailwind
colors: {
  custom: {
    50: '#ded281',
    500: '#cbc049',
    950: '#000000',
  },
}
SCSS
$custom: #cbc049;
$custom-light: #ded281;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc049",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 54.923,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79475,
    "c": 0.13852,
    "h": 104
  },
  "luminance": 0.50877
}

Semantic roles & 50–950 ramp

primary
#CBC049
secondary
#383E80
accent
#56DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC049

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

Preview Lab → · Contrast checker → · Palette generator →

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