#CBC45D#CBC45D

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

Color values

HEX#CBC45D
RGBrgb(203, 196, 93)
HSLhsl(56, 51%, 58%)
HSVhsv(56, 54%, 80%)
CMYKcmyk(0%, 3.4%, 54.2%, 20.4%)
CIE-LABlab(77.86, -11.01, 51.78)
CIE-LCHlch(77.86, 52.94, 102.00°)
OKLaboklab(80.53% -0.0331 0.121)
OKLCHoklch(80.53% 0.125 105.3)
XYZxyz(46.3457, 52.9681, 18.1363)
Luminance0.5297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC45D #5D64CB
analogous
#CB8D5D #CBC45D #9BCB5D
triadic
#CBC45D #5DCBC4 #C45DCB
tetradic
#CBC45D #5DCB8D #5D64CB #CB5D9B
square
#CBC45D #5DCB8D #5D64CB #CB5D9B
split-complementary
#CBC45D #5D9BCB #8D5DCB
monochromatic
#837E2A #B2AA39 #CBC45D #DAD58B #E9E6BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC45D#FFFFFF#000000##000000
##CBC45D1.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)
#D3BE53
Deuteranopia (green-blind)
#D6C362
Tritanopia (blue-blind)
#D8B9AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc45d;
/* rgb */ color: rgb(203, 196, 93);
/* oklch */ color: oklch(80.5% 0.125 105.3);
Tailwind
colors: {
  custom: {
    50: '#ddd58e',
    500: '#cbc45d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc45d;
$custom-light: #ddd58e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc45d",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 93
  },
  "hsl": {
    "h": 56.182,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8053,
    "c": 0.12543,
    "h": 105.3
  },
  "luminance": 0.52967
}

Semantic roles & 50–950 ramp

primary
#CBC45D
secondary
#41468B
accent
#56DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC45D

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

Preview Lab → · Contrast checker → · Palette generator →

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