#CED252#CED252

#CED252 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.149 H 110.9°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#CED252
RGBrgb(206, 210, 82)
HSLhsl(62, 59%, 57%)
HSVhsv(62, 61%, 82%)
CMYKcmyk(1.9%, 0%, 61%, 17.6%)
CIE-LABlab(81.74, -17.61, 61.05)
CIE-LCHlch(81.74, 63.54, 106.09°)
OKLaboklab(83.65% -0.0533 0.1394)
OKLCHoklch(83.65% 0.149 110.9)
XYZxyz(50.0246, 59.8254, 16.8933)
Luminance0.5982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED252 #5652D2
analogous
#D29652 #CED252 #8ED252
triadic
#CED252 #52CED2 #D252CE
tetradic
#CED252 #52D296 #5652D2 #D2528E
square
#CED252 #52D296 #5652D2 #D2528E
split-complementary
#CED252 #528ED2 #9652D2
monochromatic
#838723 #B3B730 #CED252 #DCDF83 #EAEBB3

Accessibility & contrast

On white

1.62
#CED252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#CED252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED252
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED252#FFFFFF#000000##000000
##CED2521.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C943
Deuteranopia (green-blind)
#E2CD5A
Tritanopia (blue-blind)
#DBC6B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ced252;
/* rgb */ color: rgb(206, 210, 82);
/* oklch */ color: oklch(83.7% 0.149 110.9);
Tailwind
colors: {
  custom: {
    50: '#e0df88',
    500: '#ced252',
    950: '#000000',
  },
}
SCSS
$custom: #ced252;
$custom-light: #e0df88;
$custom-dark: #000000;
JSON
{
  "hex": "#ced252",
  "rgb": {
    "r": 206,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 61.875,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83653,
    "c": 0.14919,
    "h": 110.9
  },
  "luminance": 0.59824
}

Semantic roles & 50–950 ramp

primary
#CED252
secondary
#3E3B8D
accent
#46E24B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CED252

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

Preview Lab → · Contrast checker → · Palette generator →

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