#CBCD51#CBCD51

#CBCD51 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.3% C 0.145 H 110.1°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CBCD51
RGBrgb(203, 205, 81)
HSLhsl(61, 55%, 56%)
HSVhsv(61, 60%, 80%)
CMYKcmyk(1%, 0%, 60.5%, 19.6%)
CIE-LABlab(80.15, -16.43, 59.69)
CIE-LCHlch(80.15, 61.92, 105.39°)
OKLaboklab(82.32% -0.0499 0.1364)
OKLCHoklch(82.32% 0.145 110.1)
XYZxyz(47.9465, 56.9545, 16.2506)
Luminance0.5695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCD51 #5351CD
analogous
#CD9151 #CBCD51 #8DCD51
triadic
#CBCD51 #51CBCD #CD51CB
tetradic
#CBCD51 #51CD91 #5351CD #CD518D
square
#CBCD51 #51CD91 #5351CD #CD518D
split-complementary
#CBCD51 #518DCD #9151CD
monochromatic
#7E7F25 #ADAF32 #CBCD51 #D9DB81 #E7E8B0

Accessibility & contrast

On white

1.69
#CBCD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#CBCD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCD51
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCD51#FFFFFF#000000##000000
##CBCD511.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC542
Deuteranopia (green-blind)
#DDC959
Tritanopia (blue-blind)
#D8C1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbcd51;
/* rgb */ color: rgb(203, 205, 81);
/* oklch */ color: oklch(82.3% 0.145 110.1);
Tailwind
colors: {
  custom: {
    50: '#dedc87',
    500: '#cbcd51',
    950: '#000000',
  },
}
SCSS
$custom: #cbcd51;
$custom-light: #dedc87;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcd51",
  "rgb": {
    "r": 203,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 60.968,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82324,
    "c": 0.14525,
    "h": 110.1
  },
  "luminance": 0.56953
}

Semantic roles & 50–950 ramp

primary
#CBCD51
secondary
#3D3B87
accent
#49DF4C
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBCD51

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

Preview Lab → · Contrast checker → · Palette generator →

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