#CBC155#CBC155

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

Color values

HEX#CBC155
RGBrgb(203, 193, 85)
HSLhsl(55, 53%, 56%)
HSVhsv(55, 58%, 80%)
CMYKcmyk(0%, 4.9%, 58.1%, 20.4%)
CIE-LABlab(76.98, -10.09, 54.45)
CIE-LCHlch(76.98, 55.38, 100.50°)
OKLaboklab(79.81% -0.0314 0.1258)
OKLCHoklch(79.81% 0.13 104)
XYZxyz(45.3398, 51.4939, 16.1436)
Luminance0.5149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC155 #555FCB
analogous
#CB8655 #CBC155 #9ACB55
triadic
#CBC155 #55CBC1 #C155CB
tetradic
#CBC155 #55CB86 #555FCB #CB559A
square
#CBC155 #55CB86 #555FCB #CB559A
split-complementary
#CBC155 #559ACB #8655CB
monochromatic
#7F7727 #AEA335 #CBC155 #D9D284 #E8E3B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC155#FFFFFF#000000##000000
##CBC1551.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)
#D0BB4A
Deuteranopia (green-blind)
#D4C15B
Tritanopia (blue-blind)
#D9B5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc155;
/* rgb */ color: rgb(203, 193, 85);
/* oklch */ color: oklch(79.8% 0.130 104.0);
Tailwind
colors: {
  custom: {
    50: '#ddd389',
    500: '#cbc155',
    950: '#000000',
  },
}
SCSS
$custom: #cbc155;
$custom-light: #ddd389;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc155",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 54.915,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79805,
    "c": 0.12964,
    "h": 104
  },
  "luminance": 0.51492
}

Semantic roles & 50–950 ramp

primary
#CBC155
secondary
#3E4487
accent
#58DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC155

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

Preview Lab → · Contrast checker → · Palette generator →

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