#CED042#CED042

#CED042 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.1% C 0.159 H 110.2°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CED042
RGBrgb(206, 208, 66)
HSLhsl(61, 60%, 54%)
HSVhsv(61, 68%, 82%)
CMYKcmyk(1%, 0%, 68.3%, 18.4%)
CIE-LABlab(81.09, -17.57, 66.71)
CIE-LCHlch(81.09, 68.99, 104.76°)
OKLaboklab(83.09% -0.0548 0.1489)
OKLCHoklch(83.09% 0.159 110.2)
XYZxyz(48.9945, 58.6283, 13.8887)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED042 #4442D0
analogous
#D08B42 #CED042 #87D042
triadic
#CED042 #42CED0 #D042CE
tetradic
#CED042 #42D08B #4442D0 #D04287
square
#CED042 #42D08B #4442D0 #D04287
split-complementary
#CED042 #4287D0 #8B42D0
monochromatic
#78791E #A9AA2A #CED042 #DBDC73 #E7E8A4

Accessibility & contrast

On white

1.65
#CED042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#CED042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED042
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED042#FFFFFF#000000##000000
##CED0421.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72B
Deuteranopia (green-blind)
#E2CB4C
Tritanopia (blue-blind)
#DCC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ced042;
/* rgb */ color: rgb(206, 208, 66);
/* oklch */ color: oklch(83.1% 0.159 110.2);
Tailwind
colors: {
  custom: {
    50: '#e0de7f',
    500: '#ced042',
    950: '#000000',
  },
}
SCSS
$custom: #ced042;
$custom-light: #e0de7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ced042",
  "rgb": {
    "r": 206,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 60.845,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.83091,
    "c": 0.15864,
    "h": 110.2
  },
  "luminance": 0.58627
}

Semantic roles & 50–950 ramp

primary
#CED042
secondary
#363581
accent
#44E347
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CED042

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

Preview Lab → · Contrast checker → · Palette generator →

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