#CBC055#CBC055

#CBC055 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.6% C 0.129 H 103.5°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#CBC055
RGBrgb(203, 192, 85)
HSLhsl(54, 53%, 56%)
HSVhsv(54, 58%, 80%)
CMYKcmyk(0%, 5.4%, 58.1%, 20.4%)
CIE-LABlab(76.71, -9.58, 54.15)
CIE-LCHlch(76.71, 54.99, 100.03°)
OKLaboklab(79.59% -0.0299 0.1252)
OKLCHoklch(79.59% 0.129 103.5)
XYZxyz(45.1195, 51.0533, 16.0701)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC055 #5560CB
analogous
#CB8555 #CBC055 #9BCB55
triadic
#CBC055 #55CBC0 #C055CB
tetradic
#CBC055 #55CB85 #5560CB #CB559B
square
#CBC055 #55CB85 #5560CB #CB559B
split-complementary
#CBC055 #559BCB #8555CB
monochromatic
#7F7727 #AEA235 #CBC055 #D9D184 #E8E3B3

Accessibility & contrast

On white

1.87
#CBC055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#CBC055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC055
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC055#FFFFFF#000000##000000
##CBC0551.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4A
Deuteranopia (green-blind)
#D3C05B
Tritanopia (blue-blind)
#D9B4A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc055;
/* rgb */ color: rgb(203, 192, 85);
/* oklch */ color: oklch(79.6% 0.129 103.5);
Tailwind
colors: {
  custom: {
    50: '#ddd289',
    500: '#cbc055',
    950: '#000000',
  },
}
SCSS
$custom: #cbc055;
$custom-light: #ddd289;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc055",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 85
  },
  "hsl": {
    "h": 54.407,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79594,
    "c": 0.12868,
    "h": 103.5
  },
  "luminance": 0.51052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC055

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

Preview Lab → · Contrast checker → · Palette generator →

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