#CBE052#CBE052

#CBE052 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.5% C 0.166 H 117.2°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#CBE052
RGBrgb(203, 224, 82)
HSLhsl(69, 70%, 60%)
HSVhsv(69, 63%, 88%)
CMYKcmyk(9.4%, 0%, 63.4%, 12.2%)
CIE-LABlab(85.31, -25.64, 64.79)
CIE-LCHlch(85.31, 69.68, 111.59°)
OKLaboklab(86.46% -0.0756 0.1473)
OKLCHoklch(86.46% 0.166 117.2)
XYZxyz(52.8083, 66.6176, 18.0576)
Luminance0.6662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE052 #6752E0
analogous
#E0AE52 #CBE052 #84E052
triadic
#CBE052 #52CBE0 #E052CB
tetradic
#CBE052 #52E0AE #6752E0 #E05284
square
#CBE052 #52E0AE #6752E0 #E05284
split-complementary
#CBE052 #5284E0 #AE52E0
monochromatic
#899C1C #B6D025 #CBE052 #DBE986 #EAF3BA

Accessibility & contrast

On white

1.47
#CBE052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#CBE052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE052
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE052#FFFFFF#000000##000000
##CBE0521.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED540
Deuteranopia (green-blind)
#ECD65C
Tritanopia (blue-blind)
#D7D4C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cbe052;
/* rgb */ color: rgb(203, 224, 82);
/* oklch */ color: oklch(86.5% 0.166 117.2);
Tailwind
colors: {
  custom: {
    50: '#dee989',
    500: '#cbe052',
    950: '#000000',
  },
}
SCSS
$custom: #cbe052;
$custom-light: #dee989;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe052",
  "rgb": {
    "r": 203,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 68.873,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.86455,
    "c": 0.1656,
    "h": 117.2
  },
  "luminance": 0.66617
}

Semantic roles & 50–950 ramp

primary
#CBE052
secondary
#46379F
accent
#3BEC56
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CBE052

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

Preview Lab → · Contrast checker → · Palette generator →

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