#CBCB45#CBCB45

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

Color values

HEX#CBCB45
RGBrgb(203, 203, 69)
HSLhsl(60, 56%, 53%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0%, 0%, 66%, 20.4%)
CIE-LABlab(79.52, -16.18, 63.92)
CIE-LCHlch(79.52, 65.94, 104.20°)
OKLaboklab(81.79% -0.0504 0.1436)
OKLCHoklch(81.79% 0.152 109.3)
XYZxyz(47.0603, 55.8394, 13.9282)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB45 #4545CB
analogous
#CB8845 #CBCB45 #88CB45
triadic
#CBCB45 #45CBCB #CB45CB
tetradic
#CBCB45 #45CB88 #4545CB #CB4588
square
#CBCB45 #45CB88 #4545CB #CB4588
split-complementary
#CBCB45 #4588CB #8845CB
monochromatic
#757521 #A5A52E #CBCB45 #D8D875 #E6E6A5

Accessibility & contrast

On white

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

On black

12.17
#CBCB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB45
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB45#FFFFFF#000000##000000
##CBCB451.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbcb45;
/* rgb */ color: rgb(203, 203, 69);
/* oklch */ color: oklch(81.8% 0.152 109.3);
Tailwind
colors: {
  custom: {
    50: '#deda80',
    500: '#cbcb45',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb45;
$custom-light: #deda80;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb45",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 60,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.8179,
    "c": 0.15216,
    "h": 109.3
  },
  "luminance": 0.55838
}

Semantic roles & 50–950 ramp

primary
#CBCB45
secondary
#37377E
accent
#48E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBCB45

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

Preview Lab → · Contrast checker → · Palette generator →

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