#CBD052#CBD052

#CBD052 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.0% C 0.148 H 111.4°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#CBD052
RGBrgb(203, 208, 82)
HSLhsl(62, 57%, 57%)
HSVhsv(62, 61%, 82%)
CMYKcmyk(2.4%, 0%, 60.6%, 18.4%)
CIE-LABlab(80.97, -17.86, 60.15)
CIE-LCHlch(80.97, 62.75, 106.53°)
OKLaboklab(82.98% -0.0538 0.1375)
OKLCHoklch(82.98% 0.148 111.4)
XYZxyz(48.7088, 58.4186, 16.6911)
Luminance0.5842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD052 #5752D0
analogous
#D09652 #CBD052 #8CD052
triadic
#CBD052 #52CBD0 #D052CB
tetradic
#CBD052 #52D096 #5752D0 #D0528C
square
#CBD052 #52D096 #5752D0 #D0528C
split-complementary
#CBD052 #528CD0 #9652D0
monochromatic
#808424 #AFB431 #CBD052 #D9DD82 #E8EAB2

Accessibility & contrast

On white

1.66
#CBD052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#CBD052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD052
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD052#FFFFFF#000000##000000
##CBD0521.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#D8C4B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbd052;
/* rgb */ color: rgb(203, 208, 82);
/* oklch */ color: oklch(83.0% 0.148 111.4);
Tailwind
colors: {
  custom: {
    50: '#dede88',
    500: '#cbd052',
    950: '#000000',
  },
}
SCSS
$custom: #cbd052;
$custom-light: #dede88;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd052",
  "rgb": {
    "r": 203,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 62.381,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82979,
    "c": 0.14766,
    "h": 111.4
  },
  "luminance": 0.58417
}

Semantic roles & 50–950 ramp

primary
#CBD052
secondary
#3F3B8B
accent
#47E14D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD052

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

Preview Lab → · Contrast checker → · Palette generator →

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