#CBCB41#CBCB41

#CBCB41 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.8% C 0.155 H 109.4°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#CBCB41
RGBrgb(203, 203, 65)
HSLhsl(60, 57%, 53%)
HSVhsv(60, 68%, 80%)
CMYKcmyk(0%, 0%, 68%, 20.4%)
CIE-LABlab(79.50, -16.40, 65.42)
CIE-LCHlch(79.50, 67.45, 104.07°)
OKLaboklab(81.76% -0.0514 0.1461)
OKLCHoklch(81.76% 0.155 109.4)
XYZxyz(46.9403, 55.7914, 13.2962)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB41 #4141CB
analogous
#CB8641 #CBCB41 #86CB41
triadic
#CBCB41 #41CBCB #CB41CB
tetradic
#CBCB41 #41CB86 #4141CB #CB4186
square
#CBCB41 #41CB86 #4141CB #CB4186
split-complementary
#CBCB41 #4186CB #8641CB
monochromatic
#72721F #A2A22C #CBCB41 #D8D871 #E5E5A1

Accessibility & contrast

On white

1.73
#CBCB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#CBCB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB41
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB41#FFFFFF#000000##000000
##CBCB411.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32B
Deuteranopia (green-blind)
#DDC74B
Tritanopia (blue-blind)
#D9BEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb41;
/* rgb */ color: rgb(203, 203, 65);
/* oklch */ color: oklch(81.8% 0.155 109.4);
Tailwind
colors: {
  custom: {
    50: '#deda7e',
    500: '#cbcb41',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb41;
$custom-light: #deda7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb41",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 65
  },
  "hsl": {
    "h": 60,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81759,
    "c": 0.15486,
    "h": 109.4
  },
  "luminance": 0.5579
}

Semantic roles & 50–950 ramp

primary
#CBCB41
secondary
#35357B
accent
#48E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCB41

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

Preview Lab → · Contrast checker → · Palette generator →

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