#CBCB46#CBCB46

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

Color values

HEX#CBCB46
RGBrgb(203, 203, 70)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0%, 0%, 65.5%, 20.4%)
CIE-LABlab(79.53, -16.12, 63.54)
CIE-LCHlch(79.53, 65.55, 104.24°)
OKLaboklab(81.8% -0.0501 0.1429)
OKLCHoklch(81.8% 0.151 109.3)
XYZxyz(47.0916, 55.8519, 14.0930)
Luminance0.5585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB46 #4646CB
analogous
#CB8846 #CBCB46 #88CB46
triadic
#CBCB46 #46CBCB #CB46CB
tetradic
#CBCB46 #46CB88 #4646CB #CB4688
square
#CBCB46 #46CB88 #4646CB #CB4688
split-complementary
#CBCB46 #4688CB #8846CB
monochromatic
#767621 #A5A52E #CBCB46 #D8D876 #E6E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCB46#FFFFFF#000000##000000
##CBCB461.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)
#DBC333
Deuteranopia (green-blind)
#DDC74F
Tritanopia (blue-blind)
#D9BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb46;
/* rgb */ color: rgb(203, 203, 70);
/* oklch */ color: oklch(81.8% 0.151 109.3);
Tailwind
colors: {
  custom: {
    50: '#deda81',
    500: '#cbcb46',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb46;
$custom-light: #deda81;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb46",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 70
  },
  "hsl": {
    "h": 60,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81798,
    "c": 0.15146,
    "h": 109.3
  },
  "luminance": 0.55851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBCB46

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

Preview Lab → · Contrast checker → · Palette generator →

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