#CBB23C#CBB23C

#CBB23C is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.4% C 0.136 H 96.9°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#CBB23C
RGBrgb(203, 178, 60)
HSLhsl(50, 58%, 52%)
HSVhsv(50, 70%, 80%)
CMYKcmyk(0%, 12.3%, 70.4%, 20.4%)
CIE-LABlab(72.80, -3.86, 60.66)
CIE-LCHlch(72.80, 60.78, 93.64°)
OKLaboklab(76.43% -0.0165 0.1352)
OKLCHoklch(76.43% 0.136 96.9)
XYZxyz(41.3666, 44.8657, 10.7551)
Luminance0.4486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB23C #3C55CB
analogous
#CB6A3C #CBB23C #9DCB3C
triadic
#CBB23C #3CCBB2 #B23CCB
tetradic
#CBB23C #3CCB6A #3C55CB #CB3C9D
square
#CBB23C #3CCB6A #3C55CB #CB3C9D
split-complementary
#CBB23C #3C9DCB #6A3CCB
monochromatic
#6F611E #9F8B2A #CBB23C #D8C56C #E5D89D

Accessibility & contrast

On white

2.11
#CBB23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#CBB23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB23C
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB23C#FFFFFF#000000##000000
##CBB23C1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2B
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#DBA59A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb23c;
/* rgb */ color: rgb(203, 178, 60);
/* oklch */ color: oklch(76.4% 0.136 96.9);
Tailwind
colors: {
  custom: {
    50: '#dfc879',
    500: '#cbb23c',
    950: '#000000',
  },
}
SCSS
$custom: #cbb23c;
$custom-light: #dfc879;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb23c",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 49.51,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76427,
    "c": 0.13616,
    "h": 96.9
  },
  "luminance": 0.44864
}

Semantic roles & 50–950 ramp

primary
#CBB23C
secondary
#929DD1
accent
#62E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBB23C

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

Preview Lab → · Contrast checker → · Palette generator →

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