#CBD252#CBD252

#CBD252 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.4% C 0.150 H 112.2°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#CBD252
RGBrgb(203, 210, 82)
HSLhsl(63, 59%, 57%)
HSVhsv(63, 61%, 82%)
CMYKcmyk(3.3%, 0%, 61%, 17.6%)
CIE-LABlab(81.51, -18.84, 60.74)
CIE-LCHlch(81.51, 63.59, 107.24°)
OKLaboklab(83.41% -0.0566 0.1388)
OKLCHoklch(83.41% 0.15 112.2)
XYZxyz(49.1995, 59.4000, 16.8546)
Luminance0.5940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD252 #5952D2
analogous
#D29952 #CBD252 #8BD252
triadic
#CBD252 #52CBD2 #D252CB
tetradic
#CBD252 #52D299 #5952D2 #D2528B
square
#CBD252 #52D299 #5952D2 #D2528B
split-complementary
#CBD252 #528BD2 #9952D2
monochromatic
#818723 #B0B730 #CBD252 #DADF83 #E8EBB3

Accessibility & contrast

On white

1.63
#CBD252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#CBD252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD252
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD252#FFFFFF#000000##000000
##CBD2521.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C943
Deuteranopia (green-blind)
#E1CC5A
Tritanopia (blue-blind)
#D8C6B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd252;
/* rgb */ color: rgb(203, 210, 82);
/* oklch */ color: oklch(83.4% 0.150 112.2);
Tailwind
colors: {
  custom: {
    50: '#dedf88',
    500: '#cbd252',
    950: '#000000',
  },
}
SCSS
$custom: #cbd252;
$custom-light: #dedf88;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd252",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 63.281,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83411,
    "c": 0.14984,
    "h": 112.2
  },
  "luminance": 0.59399
}

Semantic roles & 50–950 ramp

primary
#CBD252
secondary
#3F3B8D
accent
#46E24E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD252

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

Preview Lab → · Contrast checker → · Palette generator →

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