#CBC45C#CBC45C

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

Color values

HEX#CBC45C
RGBrgb(203, 196, 92)
HSLhsl(56, 52%, 58%)
HSVhsv(56, 55%, 80%)
CMYKcmyk(0%, 3.4%, 54.7%, 20.4%)
CIE-LABlab(77.85, -11.09, 52.23)
CIE-LCHlch(77.85, 53.40, 101.98°)
OKLaboklab(80.52% -0.0335 0.1218)
OKLCHoklch(80.52% 0.126 105.4)
XYZxyz(46.3017, 52.9505, 17.9046)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC45C #5C63CB
analogous
#CB8C5C #CBC45C #9BCB5C
triadic
#CBC45C #5CCBC4 #C45CCB
tetradic
#CBC45C #5CCB8C #5C63CB #CB5C9B
square
#CBC45C #5CCB8C #5C63CB #CB5C9B
split-complementary
#CBC45C #5C9BCB #8C5CCB
monochromatic
#837D2A #B1AA39 #CBC45C #DAD58A #E9E6B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC45C#FFFFFF#000000##000000
##CBC45C1.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)
#D3BE52
Deuteranopia (green-blind)
#D6C361
Tritanopia (blue-blind)
#D8B9AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc45c;
/* rgb */ color: rgb(203, 196, 92);
/* oklch */ color: oklch(80.5% 0.126 105.4);
Tailwind
colors: {
  custom: {
    50: '#ddd58d',
    500: '#cbc45c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc45c;
$custom-light: #ddd58d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc45c",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 92
  },
  "hsl": {
    "h": 56.216,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80518,
    "c": 0.12636,
    "h": 105.4
  },
  "luminance": 0.52949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC45C

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

Preview Lab → · Contrast checker → · Palette generator →

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