#CBC848#CBC848

#CBC848 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.2% C 0.147 H 108.0°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CBC848
RGBrgb(203, 200, 72)
HSLhsl(59, 56%, 54%)
HSVhsv(59, 65%, 80%)
CMYKcmyk(0%, 1.5%, 64.5%, 20.4%)
CIE-LABlab(78.74, -14.50, 61.92)
CIE-LCHlch(78.74, 63.60, 103.18°)
OKLaboklab(81.17% -0.0453 0.1398)
OKLCHoklch(81.17% 0.147 108)
XYZxyz(46.4542, 54.4744, 14.1972)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC848 #484BCB
analogous
#CB8748 #CBC848 #8DCB48
triadic
#CBC848 #48CBC8 #C848CB
tetradic
#CBC848 #48CB87 #484BCB #CB488D
square
#CBC848 #48CB87 #484BCB #CB488D
split-complementary
#CBC848 #488DCB #8748CB
monochromatic
#777522 #A6A42F #CBC848 #D9D678 #E6E5A7

Accessibility & contrast

On white

1.77
#CBC848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#CBC848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC848
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC848#FFFFFF#000000##000000
##CBC8481.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C037
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#D9BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc848;
/* rgb */ color: rgb(203, 200, 72);
/* oklch */ color: oklch(81.2% 0.147 108.0);
Tailwind
colors: {
  custom: {
    50: '#ded881',
    500: '#cbc848',
    950: '#000000',
  },
}
SCSS
$custom: #cbc848;
$custom-light: #ded881;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc848",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 58.626,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81171,
    "c": 0.14699,
    "h": 108
  },
  "luminance": 0.54473
}

Semantic roles & 50–950 ramp

primary
#CBC848
secondary
#38397F
accent
#4CDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC848

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

Preview Lab → · Contrast checker → · Palette generator →

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