#CBCB48#CBCB48

#CBCB48 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.150 H 109.3°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CBCB48
RGBrgb(203, 203, 72)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0%, 0%, 64.5%, 20.4%)
CIE-LABlab(79.54, -16.00, 62.76)
CIE-LCHlch(79.54, 64.77, 104.31°)
OKLaboklab(81.81% -0.0496 0.1416)
OKLCHoklch(81.81% 0.15 109.3)
XYZxyz(47.1558, 55.8776, 14.4311)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB48 #4848CB
analogous
#CB8A48 #CBCB48 #8ACB48
triadic
#CBCB48 #48CBCB #CB48CB
tetradic
#CBCB48 #48CB8A #4848CB #CB488A
square
#CBCB48 #48CB8A #4848CB #CB488A
split-complementary
#CBCB48 #488ACB #8A48CB
monochromatic
#777722 #A6A62F #CBCB48 #D9D978 #E6E6A7

Accessibility & contrast

On white

1.72
#CBCB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CBCB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB48
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB48#FFFFFF#000000##000000
##CBCB481.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#D9BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb48;
/* rgb */ color: rgb(203, 203, 72);
/* oklch */ color: oklch(81.8% 0.150 109.3);
Tailwind
colors: {
  custom: {
    50: '#deda82',
    500: '#cbcb48',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb48;
$custom-light: #deda82;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb48",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81814,
    "c": 0.15002,
    "h": 109.3
  },
  "luminance": 0.55876
}

Semantic roles & 50–950 ramp

primary
#CBCB48
secondary
#38387F
accent
#49DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBCB48

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

Preview Lab → · Contrast checker → · Palette generator →

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