#CBC054#CBC054

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

Color values

HEX#CBC054
RGBrgb(203, 192, 84)
HSLhsl(54, 53%, 56%)
HSVhsv(54, 59%, 80%)
CMYKcmyk(0%, 5.4%, 58.6%, 20.4%)
CIE-LABlab(76.70, -9.65, 54.59)
CIE-LCHlch(76.70, 55.44, 100.02°)
OKLaboklab(79.58% -0.0303 0.126)
OKLCHoklch(79.58% 0.13 103.5)
XYZxyz(45.0800, 51.0375, 15.8624)
Luminance0.5104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC054 #545FCB
analogous
#CB8554 #CBC054 #9BCB54
triadic
#CBC054 #54CBC0 #C054CB
tetradic
#CBC054 #54CB85 #545FCB #CB549B
square
#CBC054 #54CB85 #545FCB #CB549B
split-complementary
#CBC054 #549BCB #8554CB
monochromatic
#7E7626 #ADA235 #CBC054 #D9D183 #E8E3B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC054#FFFFFF#000000##000000
##CBC0541.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)
#D0BA48
Deuteranopia (green-blind)
#D3C05A
Tritanopia (blue-blind)
#D9B4A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc054;
/* rgb */ color: rgb(203, 192, 84);
/* oklch */ color: oklch(79.6% 0.130 103.5);
Tailwind
colors: {
  custom: {
    50: '#ddd288',
    500: '#cbc054',
    950: '#000000',
  },
}
SCSS
$custom: #cbc054;
$custom-light: #ddd288;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc054",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 84
  },
  "hsl": {
    "h": 54.454,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79583,
    "c": 0.12955,
    "h": 103.5
  },
  "luminance": 0.51036
}

Semantic roles & 50–950 ramp

primary
#CBC054
secondary
#3D4486
accent
#59DD4B
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC054

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

Preview Lab → · Contrast checker → · Palette generator →

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