#CED542#CED542

#CED542 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.2% C 0.164 H 112.1°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#CED542
RGBrgb(206, 213, 66)
HSLhsl(63, 64%, 55%)
HSVhsv(63, 69%, 84%)
CMYKcmyk(3.3%, 0%, 69%, 16.5%)
CIE-LABlab(82.44, -20.04, 68.05)
CIE-LCHlch(82.44, 70.94, 106.41°)
OKLaboklab(84.17% -0.0617 0.1517)
OKLCHoklch(84.17% 0.164 112.1)
XYZxyz(50.2328, 61.1048, 14.3015)
Luminance0.6110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED542 #4942D5
analogous
#D59242 #CED542 #85D542
triadic
#CED542 #42CED5 #D542CE
tetradic
#CED542 #42D592 #4942D5 #D54285
square
#CED542 #42D592 #4942D5 #D54285
split-complementary
#CED542 #4285D5 #9242D5
monochromatic
#7B801C #ACB228 #CED542 #DBE074 #E8EBA6

Accessibility & contrast

On white

1.59
#CED542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#CED542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED542
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED542#FFFFFF#000000##000000
##CED5421.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB2A
Deuteranopia (green-blind)
#E5CF4D
Tritanopia (blue-blind)
#DCC8B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ced542;
/* rgb */ color: rgb(206, 213, 66);
/* oklch */ color: oklch(84.2% 0.164 112.1);
Tailwind
colors: {
  custom: {
    50: '#e0e17f',
    500: '#ced542',
    950: '#000000',
  },
}
SCSS
$custom: #ced542;
$custom-light: #e0e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#ced542",
  "rgb": {
    "r": 206,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 62.857,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84169,
    "c": 0.16376,
    "h": 112.1
  },
  "luminance": 0.61104
}

Semantic roles & 50–950 ramp

primary
#CED542
secondary
#383487
accent
#41E749
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CED542

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

Preview Lab → · Contrast checker → · Palette generator →

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