#CBC549#CBC549

#CBC549 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.5% C 0.143 H 106.5°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CBC549
RGBrgb(203, 197, 73)
HSLhsl(57, 56%, 54%)
HSVhsv(57, 64%, 80%)
CMYKcmyk(0%, 3%, 64%, 20.4%)
CIE-LABlab(77.94, -12.93, 60.68)
CIE-LCHlch(77.94, 62.05, 102.02°)
OKLaboklab(80.54% -0.0408 0.1374)
OKLCHoklch(80.54% 0.143 106.5)
XYZxyz(45.7991, 53.1116, 14.1411)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC549 #494FCB
analogous
#CB8449 #CBC549 #90CB49
triadic
#CBC549 #49CBC5 #C549CB
tetradic
#CBC549 #49CB84 #494FCB #CB4990
square
#CBC549 #49CB84 #494FCB #CB4990
split-complementary
#CBC549 #4990CB #8449CB
monochromatic
#777422 #A7A230 #CBC549 #D9D479 #E6E3A8

Accessibility & contrast

On white

1.81
#CBC549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CBC549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC549
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC549#FFFFFF#000000##000000
##CBC5491.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE39
Deuteranopia (green-blind)
#D8C351
Tritanopia (blue-blind)
#D9B9AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc549;
/* rgb */ color: rgb(203, 197, 73);
/* oklch */ color: oklch(80.5% 0.143 106.5);
Tailwind
colors: {
  custom: {
    50: '#ded682',
    500: '#cbc549',
    950: '#000000',
  },
}
SCSS
$custom: #cbc549;
$custom-light: #ded682;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc549",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 57.231,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80538,
    "c": 0.14329,
    "h": 106.5
  },
  "luminance": 0.5311
}

Semantic roles & 50–950 ramp

primary
#CBC549
secondary
#383C80
accent
#50DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC549

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

Preview Lab → · Contrast checker → · Palette generator →

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