#CBB23E#CBB23E

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

Color values

HEX#CBB23E
RGBrgb(203, 178, 62)
HSLhsl(49, 58%, 52%)
HSVhsv(49, 69%, 80%)
CMYKcmyk(0%, 12.3%, 69.5%, 20.4%)
CIE-LABlab(72.82, -3.76, 59.88)
CIE-LCHlch(72.82, 59.99, 93.59°)
OKLaboklab(76.44% -0.0159 0.1339)
OKLCHoklch(76.44% 0.135 96.8)
XYZxyz(41.4205, 44.8872, 11.0389)
Luminance0.4489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB23E #3E57CB
analogous
#CB6C3E #CBB23E #9DCB3E
triadic
#CBB23E #3ECBB2 #B23ECB
tetradic
#CBB23E #3ECB6C #3E57CB #CB3E9D
square
#CBB23E #3ECB6C #3E57CB #CB3E9D
split-complementary
#CBB23E #3E9DCB #6C3ECB
monochromatic
#70621E #A18C2B #CBB23E #D8C56E #E5D89E

Accessibility & contrast

On white

2.10
#CBB23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CBB23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB23E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB23E#FFFFFF#000000##000000
##CBB23E1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbb23e;
/* rgb */ color: rgb(203, 178, 62);
/* oklch */ color: oklch(76.4% 0.135 96.8);
Tailwind
colors: {
  custom: {
    50: '#dec87a',
    500: '#cbb23e',
    950: '#000000',
  },
}
SCSS
$custom: #cbb23e;
$custom-light: #dec87a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb23e",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 49.362,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76443,
    "c": 0.13481,
    "h": 96.8
  },
  "luminance": 0.44885
}

Semantic roles & 50–950 ramp

primary
#CBB23E
secondary
#949ED1
accent
#62E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB23E

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

Preview Lab → · Contrast checker → · Palette generator →

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