#CBD752#CBD752

#CBD752 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.5% C 0.155 H 114.1°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#CBD752
RGBrgb(203, 215, 82)
HSLhsl(65, 62%, 58%)
HSVhsv(65, 62%, 84%)
CMYKcmyk(5.6%, 0%, 61.9%, 15.7%)
CIE-LABlab(82.86, -21.30, 62.19)
CIE-LCHlch(82.86, 65.73, 108.90°)
OKLaboklab(84.49% -0.0635 0.1418)
OKLCHoklch(84.49% 0.155 114.1)
XYZxyz(50.4532, 61.9075, 17.2725)
Luminance0.6191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD752 #5E52D7
analogous
#D7A152 #CBD752 #88D752
triadic
#CBD752 #52CBD7 #D752CB
tetradic
#CBD752 #52D7A1 #5E52D7 #D75288
square
#CBD752 #52D7A1 #5E52D7 #D75288
split-complementary
#CBD752 #5288D7 #A152D7
monochromatic
#848E21 #B2C02C #CBD752 #DAE284 #E9EEB5

Accessibility & contrast

On white

1.57
#CBD752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#CBD752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD752
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD752#FFFFFF#000000##000000
##CBD7521.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD42
Deuteranopia (green-blind)
#E5D05B
Tritanopia (blue-blind)
#D7CBBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cbd752;
/* rgb */ color: rgb(203, 215, 82);
/* oklch */ color: oklch(84.5% 0.155 114.1);
Tailwind
colors: {
  custom: {
    50: '#dee388',
    500: '#cbd752',
    950: '#000000',
  },
}
SCSS
$custom: #cbd752;
$custom-light: #dee388;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd752",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 65.414,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84494,
    "c": 0.15538,
    "h": 114.1
  },
  "luminance": 0.61907
}

Semantic roles & 50–950 ramp

primary
#CBD752
secondary
#423A93
accent
#42E651
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD752

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

Preview Lab → · Contrast checker → · Palette generator →

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