#CBC048#CBC048

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

Color values

HEX#CBC048
RGBrgb(203, 192, 72)
HSLhsl(55, 56%, 54%)
HSVhsv(55, 65%, 80%)
CMYKcmyk(0%, 5.4%, 64.5%, 20.4%)
CIE-LABlab(76.60, -10.44, 59.69)
CIE-LCHlch(76.60, 60.59, 99.92°)
OKLaboklab(79.47% -0.0339 0.1351)
OKLCHoklch(79.47% 0.139 104.1)
XYZxyz(44.6496, 50.8653, 13.5957)
Luminance0.5086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC048 #4853CB
analogous
#CB7F48 #CBC048 #95CB48
triadic
#CBC048 #48CBC0 #C048CB
tetradic
#CBC048 #48CB7F #4853CB #CB4895
square
#CBC048 #48CB7F #4853CB #CB4895
split-complementary
#CBC048 #4895CB #7F48CB
monochromatic
#777022 #A69C2F #CBC048 #D9D078 #E6E1A7

Accessibility & contrast

On white

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

On black

11.17
#CBC048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC048
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC048#FFFFFF#000000##000000
##CBC0481.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA39
Deuteranopia (green-blind)
#D4C04F
Tritanopia (blue-blind)
#DAB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc048;
/* rgb */ color: rgb(203, 192, 72);
/* oklch */ color: oklch(79.5% 0.139 104.1);
Tailwind
colors: {
  custom: {
    50: '#ded281',
    500: '#cbc048',
    950: '#000000',
  },
}
SCSS
$custom: #cbc048;
$custom-light: #ded281;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc048",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 54.962,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79467,
    "c": 0.13928,
    "h": 104.1
  },
  "luminance": 0.50864
}

Semantic roles & 50–950 ramp

primary
#CBC048
secondary
#383E7F
accent
#55DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC048

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

Preview Lab → · Contrast checker → · Palette generator →

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