#CED742#CED742

#CED742 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.6% C 0.166 H 112.9°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#CED742
RGBrgb(206, 215, 66)
HSLhsl(64, 65%, 55%)
HSVhsv(64, 69%, 84%)
CMYKcmyk(4.2%, 0%, 69.3%, 15.7%)
CIE-LABlab(82.98, -21.01, 68.58)
CIE-LCHlch(82.98, 71.73, 107.03°)
OKLaboklab(84.6% -0.0644 0.1528)
OKLCHoklch(84.6% 0.166 112.9)
XYZxyz(50.7389, 62.1172, 14.4702)
Luminance0.6212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED742 #4B42D7
analogous
#D79542 #CED742 #84D742
triadic
#CED742 #42CED7 #D742CE
tetradic
#CED742 #42D795 #4B42D7 #D74284
square
#CED742 #42D795 #4B42D7 #D74284
split-complementary
#CED742 #4284D7 #9542D7
monochromatic
#7D831C #ADB526 #CED742 #DBE275 #E8ECA7

Accessibility & contrast

On white

1.56
#CED742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#CED742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED742
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED742#FFFFFF#000000##000000
##CED7421.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD29
Deuteranopia (green-blind)
#E7D04D
Tritanopia (blue-blind)
#DCCABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ced742;
/* rgb */ color: rgb(206, 215, 66);
/* oklch */ color: oklch(84.6% 0.166 112.9);
Tailwind
colors: {
  custom: {
    50: '#e0e37f',
    500: '#ced742',
    950: '#000000',
  },
}
SCSS
$custom: #ced742;
$custom-light: #e0e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#ced742",
  "rgb": {
    "r": 206,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 63.624,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.84602,
    "c": 0.16584,
    "h": 112.9
  },
  "luminance": 0.62116
}

Semantic roles & 50–950 ramp

primary
#CED742
secondary
#39348A
accent
#40E84A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CED742

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

Preview Lab → · Contrast checker → · Palette generator →

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