#CED942#CED942

#CED942 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.0% C 0.168 H 113.6°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#CED942
RGBrgb(206, 217, 66)
HSLhsl(64, 67%, 55%)
HSVhsv(64, 70%, 85%)
CMYKcmyk(5.1%, 0%, 69.6%, 14.9%)
CIE-LABlab(83.52, -21.99, 69.12)
CIE-LCHlch(83.52, 72.53, 107.65°)
OKLaboklab(85.04% -0.0671 0.1539)
OKLCHoklch(85.04% 0.168 113.6)
XYZxyz(51.2513, 63.1419, 14.6410)
Luminance0.6314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED942 #4D42D9
analogous
#D99842 #CED942 #82D942
triadic
#CED942 #42CED9 #D942CE
tetradic
#CED942 #42D998 #4D42D9 #D94282
square
#CED942 #42D998 #4D42D9 #D94282
split-complementary
#CED942 #4282D9 #9842D9
monochromatic
#7E861B #AEB925 #CED942 #DBE375 #E8EDA8

Accessibility & contrast

On white

1.54
#CED942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#CED942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED942
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED942#FFFFFF#000000##000000
##CED9421.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF28
Deuteranopia (green-blind)
#E9D24E
Tritanopia (blue-blind)
#DBCCBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ced942;
/* rgb */ color: rgb(206, 217, 66);
/* oklch */ color: oklch(85.0% 0.168 113.6);
Tailwind
colors: {
  custom: {
    50: '#e0e480',
    500: '#ced942',
    950: '#000000',
  },
}
SCSS
$custom: #ced942;
$custom-light: #e0e480;
$custom-dark: #000000;
JSON
{
  "hex": "#ced942",
  "rgb": {
    "r": 206,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 64.371,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85035,
    "c": 0.16793,
    "h": 113.6
  },
  "luminance": 0.63141
}

Semantic roles & 50–950 ramp

primary
#CED942
secondary
#3A338C
accent
#3EE94B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CED942

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

Preview Lab → · Contrast checker → · Palette generator →

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