#CBC548#CBC548

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

Color values

HEX#CBC548
RGBrgb(203, 197, 72)
HSLhsl(57, 56%, 54%)
HSVhsv(57, 65%, 80%)
CMYKcmyk(0%, 3%, 64.5%, 20.4%)
CIE-LABlab(77.93, -12.99, 61.09)
CIE-LCHlch(77.93, 62.45, 102.00°)
OKLaboklab(80.53% -0.0411 0.1381)
OKLCHoklch(80.53% 0.144 106.6)
XYZxyz(45.7662, 53.0984, 13.9679)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC548 #484ECB
analogous
#CB8448 #CBC548 #90CB48
triadic
#CBC548 #48CBC5 #C548CB
tetradic
#CBC548 #48CB84 #484ECB #CB4890
square
#CBC548 #48CB84 #484ECB #CB4890
split-complementary
#CBC548 #4890CB #8448CB
monochromatic
#777322 #A6A12F #CBC548 #D9D478 #E6E3A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC548#FFFFFF#000000##000000
##CBC5481.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)
#D5BE38
Deuteranopia (green-blind)
#D8C350
Tritanopia (blue-blind)
#D9B9AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc548;
/* rgb */ color: rgb(203, 197, 72);
/* oklch */ color: oklch(80.5% 0.144 106.6);
Tailwind
colors: {
  custom: {
    50: '#ded681',
    500: '#cbc548',
    950: '#000000',
  },
}
SCSS
$custom: #cbc548;
$custom-light: #ded681;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc548",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 57.252,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8053,
    "c": 0.14403,
    "h": 106.6
  },
  "luminance": 0.53097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC548

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

Preview Lab → · Contrast checker → · Palette generator →

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