#CBD852#CBD852

#CBD852 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.7% C 0.157 H 114.5°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#CBD852
RGBrgb(203, 216, 82)
HSLhsl(66, 63%, 58%)
HSVhsv(66, 62%, 85%)
CMYKcmyk(6%, 0%, 62%, 15.3%)
CIE-LABlab(83.14, -21.78, 62.48)
CIE-LCHlch(83.14, 66.17, 109.22°)
OKLaboklab(84.71% -0.0648 0.1424)
OKLCHoklch(84.71% 0.157 114.5)
XYZxyz(50.7087, 62.4183, 17.3577)
Luminance0.6242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD852 #5F52D8
analogous
#D8A252 #CBD852 #88D852
triadic
#CBD852 #52CBD8 #D852CB
tetradic
#CBD852 #52D8A2 #5F52D8 #D85288
square
#CBD852 #52D8A2 #5F52D8 #D85288
split-complementary
#CBD852 #5288D8 #A252D8
monochromatic
#858F20 #B3C12C #CBD852 #DAE384 #E9EFB6

Accessibility & contrast

On white

1.56
#CBD852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#CBD852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD852
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD852#FFFFFF#000000##000000
##CBD8521.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE41
Deuteranopia (green-blind)
#E6D05B
Tritanopia (blue-blind)
#D7CCBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cbd852;
/* rgb */ color: rgb(203, 216, 82);
/* oklch */ color: oklch(84.7% 0.157 114.5);
Tailwind
colors: {
  custom: {
    50: '#dee388',
    500: '#cbd852',
    950: '#000000',
  },
}
SCSS
$custom: #cbd852;
$custom-light: #dee388;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd852",
  "rgb": {
    "r": 203,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 65.821,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84711,
    "c": 0.1565,
    "h": 114.5
  },
  "luminance": 0.62417
}

Semantic roles & 50–950 ramp

primary
#CBD852
secondary
#423995
accent
#42E652
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD852

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

Preview Lab → · Contrast checker → · Palette generator →

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