#CBCE51#CBCE51

#CBCE51 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.5% C 0.146 H 110.5°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CBCE51
RGBrgb(203, 206, 81)
HSLhsl(61, 56%, 56%)
HSVhsv(61, 61%, 81%)
CMYKcmyk(1.5%, 0%, 60.7%, 19.2%)
CIE-LABlab(80.42, -16.93, 59.99)
CIE-LCHlch(80.42, 62.33, 105.76°)
OKLaboklab(82.54% -0.0513 0.137)
OKLCHoklch(82.54% 0.146 110.5)
XYZxyz(48.1865, 57.4344, 16.3306)
Luminance0.5743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCE51 #5451CE
analogous
#CE9351 #CBCE51 #8DCE51
triadic
#CBCE51 #51CBCE #CE51CB
tetradic
#CBCE51 #51CE93 #5451CE #CE518D
square
#CBCE51 #51CE93 #5451CE #CE518D
split-complementary
#CBCE51 #518DCE #9351CE
monochromatic
#7E8024 #ADB032 #CBCE51 #D9DB81 #E8E9B1

Accessibility & contrast

On white

1.68
#CBCE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CBCE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCE51
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCE51#FFFFFF#000000##000000
##CBCE511.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC642
Deuteranopia (green-blind)
#DEC959
Tritanopia (blue-blind)
#D8C2B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbce51;
/* rgb */ color: rgb(203, 206, 81);
/* oklch */ color: oklch(82.5% 0.146 110.5);
Tailwind
colors: {
  custom: {
    50: '#dedc87',
    500: '#cbce51',
    950: '#000000',
  },
}
SCSS
$custom: #cbce51;
$custom-light: #dedc87;
$custom-dark: #000000;
JSON
{
  "hex": "#cbce51",
  "rgb": {
    "r": 203,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 61.44,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82539,
    "c": 0.1463,
    "h": 110.5
  },
  "luminance": 0.57433
}

Semantic roles & 50–950 ramp

primary
#CBCE51
secondary
#3D3B88
accent
#48DF4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBCE51

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

Preview Lab → · Contrast checker → · Palette generator →

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