#CBC45B#CBC45B

#CBC45B is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.127 H 105.4°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CBC45B
RGBrgb(203, 196, 91)
HSLhsl(56, 52%, 58%)
HSVhsv(56, 55%, 80%)
CMYKcmyk(0%, 3.4%, 55.2%, 20.4%)
CIE-LABlab(77.84, -11.17, 52.68)
CIE-LCHlch(77.84, 53.85, 101.97°)
OKLaboklab(80.51% -0.0338 0.1227)
OKLCHoklch(80.51% 0.127 105.4)
XYZxyz(46.2583, 52.9331, 17.6759)
Luminance0.5293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC45B #5B62CB
analogous
#CB8C5B #CBC45B #9ACB5B
triadic
#CBC45B #5BCBC4 #C45BCB
tetradic
#CBC45B #5BCB8C #5B62CB #CB5B9A
square
#CBC45B #5BCB8C #5B62CB #CB5B9A
split-complementary
#CBC45B #5B9ACB #8C5BCB
monochromatic
#827D29 #B1A938 #CBC45B #DAD589 #E8E5B8

Accessibility & contrast

On white

1.81
#CBC45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#CBC45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC45B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC45B#FFFFFF#000000##000000
##CBC45B1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE50
Deuteranopia (green-blind)
#D6C360
Tritanopia (blue-blind)
#D8B9AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc45b;
/* rgb */ color: rgb(203, 196, 91);
/* oklch */ color: oklch(80.5% 0.127 105.4);
Tailwind
colors: {
  custom: {
    50: '#ddd58d',
    500: '#cbc45b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc45b;
$custom-light: #ddd58d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc45b",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 91
  },
  "hsl": {
    "h": 56.25,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80507,
    "c": 0.12728,
    "h": 105.4
  },
  "luminance": 0.52932
}

Semantic roles & 50–950 ramp

primary
#CBC45B
secondary
#40458A
accent
#55DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC45B

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

Preview Lab → · Contrast checker → · Palette generator →

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