#CED162#CED162

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

Color values

HEX#CED162
RGBrgb(206, 209, 98)
HSLhsl(62, 55%, 60%)
HSVhsv(62, 53%, 82%)
CMYKcmyk(1.4%, 0%, 53.1%, 18%)
CIE-LABlab(81.62, -15.93, 53.87)
CIE-LCHlch(81.62, 56.18, 106.47°)
OKLaboklab(83.61% -0.0468 0.126)
OKLCHoklch(83.61% 0.134 110.4)
XYZxyz(50.4599, 59.6057, 20.3998)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED162 #6562D1
analogous
#D19D62 #CED162 #96D162
triadic
#CED162 #62CED1 #D162CE
tetradic
#CED162 #62D19D #6562D1 #D16296
square
#CED162 #62D19D #6562D1 #D16296
split-complementary
#CED162 #6296D1 #9D62D1
monochromatic
#8C8F2A #BABE38 #CED162 #DDDF91 #ECEDC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CED162#FFFFFF#000000##000000
##CED1621.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)
#DFC957
Deuteranopia (green-blind)
#E0CD68
Tritanopia (blue-blind)
#DAC6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ced162;
/* rgb */ color: rgb(206, 209, 98);
/* oklch */ color: oklch(83.6% 0.134 110.4);
Tailwind
colors: {
  custom: {
    50: '#dfde92',
    500: '#ced162',
    950: '#000000',
  },
}
SCSS
$custom: #ced162;
$custom-light: #dfde92;
$custom-dark: #000000;
JSON
{
  "hex": "#ced162",
  "rgb": {
    "r": 206,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 61.622,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83606,
    "c": 0.13438,
    "h": 110.4
  },
  "luminance": 0.59605
}

Semantic roles & 50–950 ramp

primary
#CED162
secondary
#454295
accent
#23C228
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CED162

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

Preview Lab → · Contrast checker → · Palette generator →

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