#CBCA51#CBCA51

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

Color values

HEX#CBCA51
RGBrgb(203, 202, 81)
HSLhsl(60, 54%, 56%)
HSVhsv(60, 60%, 80%)
CMYKcmyk(0%, 0.5%, 60.1%, 20.4%)
CIE-LABlab(79.35, -14.93, 58.82)
CIE-LCHlch(79.35, 60.69, 104.24°)
OKLaboklab(81.68% -0.0456 0.1346)
OKLCHoklch(81.68% 0.142 108.7)
XYZxyz(47.2358, 55.5330, 16.0137)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA51 #5152CB
analogous
#CB8D51 #CBCA51 #8FCB51
triadic
#CBCA51 #51CBCA #CA51CB
tetradic
#CBCA51 #51CB8D #5152CB #CB518F
square
#CBCA51 #51CB8D #5152CB #CB518F
split-complementary
#CBCA51 #518FCB #8D51CB
monochromatic
#7C7C25 #ACAB33 #CBCA51 #D9D880 #E7E7AF

Accessibility & contrast

On white

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

On black

12.11
#CBCA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA51
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA51#FFFFFF#000000##000000
##CBCA511.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#DBC758
Tritanopia (blue-blind)
#D8BEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbca51;
/* rgb */ color: rgb(203, 202, 81);
/* oklch */ color: oklch(81.7% 0.142 108.7);
Tailwind
colors: {
  custom: {
    50: '#ded987',
    500: '#cbca51',
    950: '#000000',
  },
}
SCSS
$custom: #cbca51;
$custom-light: #ded987;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca51",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 59.508,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8168,
    "c": 0.14209,
    "h": 108.7
  },
  "luminance": 0.55532
}

Semantic roles & 50–950 ramp

primary
#CBCA51
secondary
#3C3C84
accent
#4CDD4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCA51

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

Preview Lab → · Contrast checker → · Palette generator →

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