#CED242#CED242

#CED242 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.5% C 0.161 H 111.0°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#CED242
RGBrgb(206, 210, 66)
HSLhsl(62, 62%, 54%)
HSVhsv(62, 69%, 82%)
CMYKcmyk(1.9%, 0%, 68.6%, 17.6%)
CIE-LABlab(81.63, -18.56, 67.25)
CIE-LCHlch(81.63, 69.76, 105.43°)
OKLaboklab(83.52% -0.0575 0.15)
OKLCHoklch(83.52% 0.161 111)
XYZxyz(49.4852, 59.6096, 14.0523)
Luminance0.5961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED242 #4642D2
analogous
#D28E42 #CED242 #86D242
triadic
#CED242 #42CED2 #D242CE
tetradic
#CED242 #42D28E #4642D2 #D24286
square
#CED242 #42D28E #4642D2 #D24286
split-complementary
#CED242 #4286D2 #8E42D2
monochromatic
#797C1E #AAAD29 #CED242 #DBDE73 #E8EAA5

Accessibility & contrast

On white

1.63
#CED242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#CED242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED242
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED242#FFFFFF#000000##000000
##CED2421.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92B
Deuteranopia (green-blind)
#E3CD4C
Tritanopia (blue-blind)
#DCC5B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ced242;
/* rgb */ color: rgb(206, 210, 66);
/* oklch */ color: oklch(83.5% 0.161 111.0);
Tailwind
colors: {
  custom: {
    50: '#e0df7f',
    500: '#ced242',
    950: '#000000',
  },
}
SCSS
$custom: #ced242;
$custom-light: #e0df7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ced242",
  "rgb": {
    "r": 206,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 61.667,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.83522,
    "c": 0.16067,
    "h": 111
  },
  "luminance": 0.59608
}

Semantic roles & 50–950 ramp

primary
#CED242
secondary
#373484
accent
#43E548
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CED242

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

Preview Lab → · Contrast checker → · Palette generator →

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