#CBB23B#CBB23B

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

Color values

HEX#CBB23B
RGBrgb(203, 178, 59)
HSLhsl(50, 58%, 51%)
HSVhsv(50, 71%, 80%)
CMYKcmyk(0%, 12.3%, 70.9%, 20.4%)
CIE-LABlab(72.80, -3.91, 61.04)
CIE-LCHlch(72.80, 61.17, 93.66°)
OKLaboklab(76.42% -0.0167 0.1358)
OKLCHoklch(76.42% 0.137 97)
XYZxyz(41.3404, 44.8552, 10.6172)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB23B #3B54CB
analogous
#CB6A3B #CBB23B #9CCB3B
triadic
#CBB23B #3BCBB2 #B23BCB
tetradic
#CBB23B #3BCB6A #3B54CB #CB3B9C
square
#CBB23B #3BCB6A #3B54CB #CB3B9C
split-complementary
#CBB23B #3B9CCB #6A3BCB
monochromatic
#6E601D #9F8A2A #CBB23B #D8C56B #E5D89C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB23B#FFFFFF#000000##000000
##CBB23B1.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)
#C4AE29
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#DBA59A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb23b;
/* rgb */ color: rgb(203, 178, 59);
/* oklch */ color: oklch(76.4% 0.137 97.0);
Tailwind
colors: {
  custom: {
    50: '#dfc878',
    500: '#cbb23b',
    950: '#000000',
  },
}
SCSS
$custom: #cbb23b;
$custom-light: #dfc878;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb23b",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 49.583,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76419,
    "c": 0.13682,
    "h": 97
  },
  "luminance": 0.44853
}

Semantic roles & 50–950 ramp

primary
#CBB23B
secondary
#919CD1
accent
#61E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBB23B

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

Preview Lab → · Contrast checker → · Palette generator →

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