#CED842#CED842

#CED842 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.8% C 0.167 H 113.2°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#CED842
RGBrgb(206, 216, 66)
HSLhsl(64, 66%, 55%)
HSVhsv(64, 69%, 85%)
CMYKcmyk(4.6%, 0%, 69.4%, 15.3%)
CIE-LABlab(83.25, -21.50, 68.85)
CIE-LCHlch(83.25, 72.13, 107.34°)
OKLaboklab(84.82% -0.0658 0.1534)
OKLCHoklch(84.82% 0.167 113.2)
XYZxyz(50.9943, 62.6280, 14.5553)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED842 #4C42D8
analogous
#D89742 #CED842 #83D842
triadic
#CED842 #42CED8 #D842CE
tetradic
#CED842 #42D897 #4C42D8 #D84283
square
#CED842 #42D897 #4C42D8 #D84283
split-complementary
#CED842 #4283D8 #9742D8
monochromatic
#7D841B #ADB726 #CED842 #DBE275 #E8EDA7

Accessibility & contrast

On white

1.55
#CED842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#CED842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED842
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED842#FFFFFF#000000##000000
##CED8421.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE29
Deuteranopia (green-blind)
#E8D14D
Tritanopia (blue-blind)
#DCCBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ced842;
/* rgb */ color: rgb(206, 216, 66);
/* oklch */ color: oklch(84.8% 0.167 113.2);
Tailwind
colors: {
  custom: {
    50: '#e0e380',
    500: '#ced842',
    950: '#000000',
  },
}
SCSS
$custom: #ced842;
$custom-light: #e0e380;
$custom-dark: #000000;
JSON
{
  "hex": "#ced842",
  "rgb": {
    "r": 206,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 64,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84819,
    "c": 0.16688,
    "h": 113.2
  },
  "luminance": 0.62627
}

Semantic roles & 50–950 ramp

primary
#CED842
secondary
#39338B
accent
#3FE94A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CED842

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

Preview Lab → · Contrast checker → · Palette generator →

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