#CEDC51#CEDC51

#CEDC51 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 85.8% C 0.161 H 114.7°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#CEDC51
RGBrgb(206, 220, 81)
HSLhsl(66, 67%, 59%)
HSVhsv(66, 63%, 86%)
CMYKcmyk(6.4%, 0%, 63.2%, 13.7%)
CIE-LABlab(84.43, -22.57, 64.33)
CIE-LCHlch(84.43, 68.18, 109.33°)
OKLaboklab(85.8% -0.0673 0.1462)
OKLCHoklch(85.8% 0.161 114.7)
XYZxyz(52.5333, 64.9032, 17.5432)
Luminance0.6490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEDC51 #5F51DC
analogous
#DCA551 #CEDC51 #89DC51
triadic
#CEDC51 #51CEDC #DC51CE
tetradic
#CEDC51 #51DCA5 #5F51DC #DC5189
square
#CEDC51 #51DCA5 #5F51DC #DC5189
split-complementary
#CEDC51 #5189DC #A551DC
monochromatic
#89951E #B8C828 #CEDC51 #DCE684 #EBF0B7

Accessibility & contrast

On white

1.50
#CEDC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#CEDC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEDC51
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEDC51#FFFFFF#000000##000000
##CEDC511.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#EAD45A
Tritanopia (blue-blind)
#DBD0BF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cedc51;
/* rgb */ color: rgb(206, 220, 81);
/* oklch */ color: oklch(85.8% 0.161 114.7);
Tailwind
colors: {
  custom: {
    50: '#e0e688',
    500: '#cedc51',
    950: '#000000',
  },
}
SCSS
$custom: #cedc51;
$custom-light: #e0e688;
$custom-dark: #000000;
JSON
{
  "hex": "#cedc51",
  "rgb": {
    "r": 206,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 66.043,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85803,
    "c": 0.16091,
    "h": 114.7
  },
  "luminance": 0.64902
}

Semantic roles & 50–950 ramp

primary
#CEDC51
secondary
#423899
accent
#3EE950
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CEDC51

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

Preview Lab → · Contrast checker → · Palette generator →

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