#CBCA54#CBCA54

#CBCA54 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.140 H 108.7°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CBCA54
RGBrgb(203, 202, 84)
HSLhsl(59, 53%, 56%)
HSVhsv(59, 59%, 80%)
CMYKcmyk(0%, 0.5%, 58.6%, 20.4%)
CIE-LABlab(79.37, -14.72, 57.55)
CIE-LCHlch(79.37, 59.41, 104.35°)
OKLaboklab(81.71% -0.0447 0.1323)
OKLCHoklch(81.71% 0.14 108.7)
XYZxyz(47.3508, 55.5790, 16.6193)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA54 #5455CB
analogous
#CB8F54 #CBCA54 #91CB54
triadic
#CBCA54 #54CBCA #CA54CB
tetradic
#CBCA54 #54CB8F #5455CB #CB5491
square
#CBCA54 #54CB8F #5455CB #CB5491
split-complementary
#CBCA54 #5491CB #8F54CB
monochromatic
#7E7D26 #ADAC35 #CBCA54 #D9D983 #E8E7B2

Accessibility & contrast

On white

1.73
#CBCA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CBCA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA54
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA54#FFFFFF#000000##000000
##CBCA541.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C247
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#D8BEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbca54;
/* rgb */ color: rgb(203, 202, 84);
/* oklch */ color: oklch(81.7% 0.140 108.7);
Tailwind
colors: {
  custom: {
    50: '#ddd989',
    500: '#cbca54',
    950: '#000000',
  },
}
SCSS
$custom: #cbca54;
$custom-light: #ddd989;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca54",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 59.496,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8171,
    "c": 0.13962,
    "h": 108.7
  },
  "luminance": 0.55578
}

Semantic roles & 50–950 ramp

primary
#CBCA54
secondary
#3D3E86
accent
#4CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCA54

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

Preview Lab → · Contrast checker → · Palette generator →

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