#CED22F#CED22F

#CED22F is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.4% C 0.171 H 111.1°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#CED22F
RGBrgb(206, 210, 47)
HSLhsl(61, 64%, 50%)
HSVhsv(61, 78%, 82%)
CMYKcmyk(1.9%, 0%, 77.6%, 17.6%)
CIE-LABlab(81.52, -19.40, 73.40)
CIE-LCHlch(81.52, 75.92, 104.80°)
OKLaboklab(83.41% -0.0615 0.1597)
OKLCHoklch(83.41% 0.171 111.1)
XYZxyz(49.0150, 59.4216, 11.5763)
Luminance0.5942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED22F #332FD2
analogous
#D2842F #CED22F #7DD22F
triadic
#CED22F #2FCED2 #D22FCE
tetradic
#CED22F #2FD284 #332FD2 #D22F7D
square
#CED22F #2FD284 #332FD2 #D22F7D
split-complementary
#CED22F #2F7DD2 #842FD2
monochromatic
#6D6F18 #9EA123 #CED22F #DADD61 #E6E894

Accessibility & contrast

On white

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

On black

12.88
#CED22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED22F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED22F#FFFFFF#000000##000000
##CED22F1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C800
Deuteranopia (green-blind)
#E4CD3E
Tritanopia (blue-blind)
#DDC5B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ced22f;
/* rgb */ color: rgb(206, 210, 47);
/* oklch */ color: oklch(83.4% 0.171 111.1);
Tailwind
colors: {
  custom: {
    50: '#e1df76',
    500: '#ced22f',
    950: '#000000',
  },
}
SCSS
$custom: #ced22f;
$custom-light: #e1df76;
$custom-dark: #000000;
JSON
{
  "hex": "#ced22f",
  "rgb": {
    "r": 206,
    "g": 210,
    "b": 47
  },
  "hsl": {
    "h": 61.472,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.83407,
    "c": 0.17118,
    "h": 111.1
  },
  "luminance": 0.5942
}

Semantic roles & 50–950 ramp

primary
#CED22F
secondary
#2F2D78
accent
#40E744
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CED22F

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

Preview Lab → · Contrast checker → · Palette generator →

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