#CBB23D#CBB23D

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

Color values

HEX#CBB23D
RGBrgb(203, 178, 61)
HSLhsl(49, 58%, 52%)
HSVhsv(49, 70%, 80%)
CMYKcmyk(0%, 12.3%, 70%, 20.4%)
CIE-LABlab(72.81, -3.81, 60.27)
CIE-LCHlch(72.81, 60.39, 93.62°)
OKLaboklab(76.44% -0.0162 0.1345)
OKLCHoklch(76.44% 0.135 96.9)
XYZxyz(41.3933, 44.8763, 10.8957)
Luminance0.4487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB23D #3D56CB
analogous
#CB6B3D #CBB23D #9DCB3D
triadic
#CBB23D #3DCBB2 #B23DCB
tetradic
#CBB23D #3DCB6B #3D56CB #CB3D9D
square
#CBB23D #3DCB6B #3D56CB #CB3D9D
split-complementary
#CBB23D #3D9DCB #6B3DCB
monochromatic
#70611E #A08B2B #CBB23D #D8C56D #E5D89E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB23D#FFFFFF#000000##000000
##CBB23D1.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)
#C4AE2C
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#DBA59A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb23d;
/* rgb */ color: rgb(203, 178, 61);
/* oklch */ color: oklch(76.4% 0.135 96.9);
Tailwind
colors: {
  custom: {
    50: '#dfc879',
    500: '#cbb23d',
    950: '#000000',
  },
}
SCSS
$custom: #cbb23d;
$custom-light: #dfc879;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb23d",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 49.437,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76435,
    "c": 0.13549,
    "h": 96.9
  },
  "luminance": 0.44874
}

Semantic roles & 50–950 ramp

primary
#CBB23D
secondary
#939ED1
accent
#62E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBB23D

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

Preview Lab → · Contrast checker → · Palette generator →

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