#CED540#CED540

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

Color values

HEX#CED540
RGBrgb(206, 213, 64)
HSLhsl(63, 64%, 54%)
HSVhsv(63, 70%, 84%)
CMYKcmyk(3.3%, 0%, 70%, 16.5%)
CIE-LABlab(82.42, -20.14, 68.76)
CIE-LCHlch(82.42, 71.65, 106.32°)
OKLaboklab(84.16% -0.0621 0.1529)
OKLCHoklch(84.16% 0.165 112.1)
XYZxyz(50.1748, 61.0817, 13.9963)
Luminance0.6108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED540 #4740D5
analogous
#D59240 #CED540 #84D540
triadic
#CED540 #40CED5 #D540CE
tetradic
#CED540 #40D592 #4740D5 #D54084
square
#CED540 #40D592 #4740D5 #D54084
split-complementary
#CED540 #4084D5 #9240D5
monochromatic
#7A7F1C #AAB127 #CED540 #DBE072 #E8EBA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CED540#FFFFFF#000000##000000
##CED5401.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)
#E5CB26
Deuteranopia (green-blind)
#E6CF4B
Tritanopia (blue-blind)
#DCC8B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ced540;
/* rgb */ color: rgb(206, 213, 64);
/* oklch */ color: oklch(84.2% 0.165 112.1);
Tailwind
colors: {
  custom: {
    50: '#e0e17e',
    500: '#ced540',
    950: '#000000',
  },
}
SCSS
$custom: #ced540;
$custom-light: #e0e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#ced540",
  "rgb": {
    "r": 206,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 62.819,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.84155,
    "c": 0.165,
    "h": 112.1
  },
  "luminance": 0.6108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CED540

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

Preview Lab → · Contrast checker → · Palette generator →

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