#CBC154#CBC154

#CBC154 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.8% C 0.131 H 104.1°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CBC154
RGBrgb(203, 193, 84)
HSLhsl(55, 53%, 56%)
HSVhsv(55, 59%, 80%)
CMYKcmyk(0%, 4.9%, 58.6%, 20.4%)
CIE-LABlab(76.97, -10.16, 54.89)
CIE-LCHlch(76.97, 55.82, 100.49°)
OKLaboklab(79.79% -0.0317 0.1266)
OKLCHoklch(79.79% 0.131 104.1)
XYZxyz(45.3003, 51.4781, 15.9358)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC154 #545ECB
analogous
#CB8654 #CBC154 #9ACB54
triadic
#CBC154 #54CBC1 #C154CB
tetradic
#CBC154 #54CB86 #545ECB #CB549A
square
#CBC154 #54CB86 #545ECB #CB549A
split-complementary
#CBC154 #549ACB #8654CB
monochromatic
#7E7726 #ADA335 #CBC154 #D9D283 #E8E3B2

Accessibility & contrast

On white

1.86
#CBC154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CBC154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC154
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC154#FFFFFF#000000##000000
##CBC1541.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB48
Deuteranopia (green-blind)
#D4C05A
Tritanopia (blue-blind)
#D9B5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc154;
/* rgb */ color: rgb(203, 193, 84);
/* oklch */ color: oklch(79.8% 0.131 104.1);
Tailwind
colors: {
  custom: {
    50: '#ddd388',
    500: '#cbc154',
    950: '#000000',
  },
}
SCSS
$custom: #cbc154;
$custom-light: #ddd388;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc154",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 54.958,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79794,
    "c": 0.13052,
    "h": 104.1
  },
  "luminance": 0.51477
}

Semantic roles & 50–950 ramp

primary
#CBC154
secondary
#3D4386
accent
#57DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC154

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

Preview Lab → · Contrast checker → · Palette generator →

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