#CBD152#CBD152

#CBD152 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.2% C 0.149 H 111.8°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#CBD152
RGBrgb(203, 209, 82)
HSLhsl(63, 58%, 57%)
HSVhsv(63, 61%, 82%)
CMYKcmyk(2.9%, 0%, 60.8%, 18%)
CIE-LABlab(81.24, -18.35, 60.44)
CIE-LCHlch(81.24, 63.17, 106.89°)
OKLaboklab(83.2% -0.0552 0.1381)
OKLCHoklch(83.2% 0.149 111.8)
XYZxyz(48.9534, 58.9077, 16.7726)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD152 #5852D1
analogous
#D19852 #CBD152 #8BD152
triadic
#CBD152 #52CBD1 #D152CB
tetradic
#CBD152 #52D198 #5852D1 #D1528B
square
#CBD152 #52D198 #5852D1 #D1528B
split-complementary
#CBD152 #528BD1 #9852D1
monochromatic
#818523 #AFB630 #CBD152 #DADE82 #E8EBB3

Accessibility & contrast

On white

1.64
#CBD152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#CBD152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD152
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD152#FFFFFF#000000##000000
##CBD1521.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#D8C5B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbd152;
/* rgb */ color: rgb(203, 209, 82);
/* oklch */ color: oklch(83.2% 0.149 111.8);
Tailwind
colors: {
  custom: {
    50: '#dede88',
    500: '#cbd152',
    950: '#000000',
  },
}
SCSS
$custom: #cbd152;
$custom-light: #dede88;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd152",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 62.835,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83195,
    "c": 0.14875,
    "h": 111.8
  },
  "luminance": 0.58907
}

Semantic roles & 50–950 ramp

primary
#CBD152
secondary
#3F3B8C
accent
#47E14E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD152

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

Preview Lab → · Contrast checker → · Palette generator →

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