#CBC23B#CBC23B

#CBC23B is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.8% C 0.150 H 105.5°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CBC23B
RGBrgb(203, 194, 59)
HSLhsl(56, 58%, 51%)
HSVhsv(56, 71%, 80%)
CMYKcmyk(0%, 4.4%, 70.9%, 20.4%)
CIE-LABlab(77.04, -12.17, 65.22)
CIE-LCHlch(77.04, 66.34, 100.57°)
OKLaboklab(79.79% -0.0401 0.1446)
OKLCHoklch(79.79% 0.15 105.5)
XYZxyz(44.7116, 51.5975, 11.7409)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC23B #3B44CB
analogous
#CB7A3B #CBC23B #8CCB3B
triadic
#CBC23B #3BCBC2 #C23BCB
tetradic
#CBC23B #3BCB7A #3B44CB #CB3B8C
square
#CBC23B #3BCB7A #3B44CB #CB3B8C
split-complementary
#CBC23B #3B8CCB #7A3BCB
monochromatic
#6E691D #9F972A #CBC23B #D8D16B #E5E09C

Accessibility & contrast

On white

1.86
#CBC23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CBC23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC23B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC23B#FFFFFF#000000##000000
##CBC23B1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB24
Deuteranopia (green-blind)
#D6C144
Tritanopia (blue-blind)
#DAB5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc23b;
/* rgb */ color: rgb(203, 194, 59);
/* oklch */ color: oklch(79.8% 0.150 105.5);
Tailwind
colors: {
  custom: {
    50: '#ded47a',
    500: '#cbc23b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc23b;
$custom-light: #ded47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc23b",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 56.25,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79789,
    "c": 0.15008,
    "h": 105.5
  },
  "luminance": 0.51596
}

Semantic roles & 50–950 ramp

primary
#CBC23B
secondary
#333778
accent
#50E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC23B

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

Preview Lab → · Contrast checker → · Palette generator →

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