#CED740#CED740

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

Color values

HEX#CED740
RGBrgb(206, 215, 64)
HSLhsl(64, 65%, 55%)
HSVhsv(64, 70%, 84%)
CMYKcmyk(4.2%, 0%, 70.2%, 15.7%)
CIE-LABlab(82.96, -21.11, 69.29)
CIE-LCHlch(82.96, 72.43, 106.95°)
OKLaboklab(84.59% -0.0649 0.154)
OKLCHoklch(84.59% 0.167 112.8)
XYZxyz(50.6810, 62.0940, 14.1651)
Luminance0.6209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED740 #4940D7
analogous
#D79440 #CED740 #83D740
triadic
#CED740 #40CED7 #D740CE
tetradic
#CED740 #40D794 #4940D7 #D74083
square
#CED740 #40D794 #4940D7 #D74083
split-complementary
#CED740 #4083D7 #9440D7
monochromatic
#7B811B #ACB426 #CED740 #DBE273 #E8ECA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CED740#FFFFFF#000000##000000
##CED7401.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)
#E7CD25
Deuteranopia (green-blind)
#E7D04C
Tritanopia (blue-blind)
#DCCABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ced740;
/* rgb */ color: rgb(206, 215, 64);
/* oklch */ color: oklch(84.6% 0.167 112.8);
Tailwind
colors: {
  custom: {
    50: '#e1e37e',
    500: '#ced740',
    950: '#000000',
  },
}
SCSS
$custom: #ced740;
$custom-light: #e1e37e;
$custom-dark: #000000;
JSON
{
  "hex": "#ced740",
  "rgb": {
    "r": 206,
    "g": 215,
    "b": 64
  },
  "hsl": {
    "h": 63.576,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84588,
    "c": 0.16708,
    "h": 112.8
  },
  "luminance": 0.62093
}

Semantic roles & 50–950 ramp

primary
#CED740
secondary
#383388
accent
#3FE84A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CED740

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

Preview Lab → · Contrast checker → · Palette generator →

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