#CBC23C#CBC23C

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

Color values

HEX#CBC23C
RGBrgb(203, 194, 60)
HSLhsl(56, 58%, 52%)
HSVhsv(56, 70%, 80%)
CMYKcmyk(0%, 4.4%, 70.4%, 20.4%)
CIE-LABlab(77.05, -12.12, 64.86)
CIE-LCHlch(77.05, 65.98, 100.58°)
OKLaboklab(79.8% -0.0399 0.144)
OKLCHoklch(79.8% 0.149 105.5)
XYZxyz(44.7378, 51.6080, 11.8789)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC23C #3C45CB
analogous
#CB7B3C #CBC23C #8DCB3C
triadic
#CBC23C #3CCBC2 #C23CCB
tetradic
#CBC23C #3CCB7B #3C45CB #CB3C8D
square
#CBC23C #3CCB7B #3C45CB #CB3C8D
split-complementary
#CBC23C #3C8DCB #7B3CCB
monochromatic
#6F6A1E #9F982A #CBC23C #D8D16C #E5E09D

Accessibility & contrast

On white

1.85
#CBC23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC23C#FFFFFF#000000##000000
##CBC23C1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc23c;
/* rgb */ color: rgb(203, 194, 60);
/* oklch */ color: oklch(79.8% 0.149 105.5);
Tailwind
colors: {
  custom: {
    50: '#ded47a',
    500: '#cbc23c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc23c;
$custom-light: #ded47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc23c",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 56.224,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79796,
    "c": 0.14946,
    "h": 105.5
  },
  "luminance": 0.51606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC23C

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

Preview Lab → · Contrast checker → · Palette generator →

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