#CED248#CED248

#CED248 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.6% C 0.157 H 111.0°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#CED248
RGBrgb(206, 210, 72)
HSLhsl(62, 61%, 55%)
HSVhsv(62, 66%, 82%)
CMYKcmyk(1.9%, 0%, 65.7%, 17.6%)
CIE-LABlab(81.67, -18.23, 65.02)
CIE-LCHlch(81.67, 67.53, 105.67°)
OKLaboklab(83.57% -0.056 0.1463)
OKLCHoklch(83.57% 0.157 111)
XYZxyz(49.6714, 59.6841, 15.0333)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED248 #4C48D2
analogous
#D29148 #CED248 #89D248
triadic
#CED248 #48CED2 #D248CE
tetradic
#CED248 #48D291 #4C48D2 #D24889
square
#CED248 #48D291 #4C48D2 #D24889
split-complementary
#CED248 #4889D2 #9148D2
monochromatic
#7D8020 #ADB12C #CED248 #DBDE79 #E8EAAA

Accessibility & contrast

On white

1.62
#CED248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#CED248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED248
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED248#FFFFFF#000000##000000
##CED2481.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C934
Deuteranopia (green-blind)
#E3CD51
Tritanopia (blue-blind)
#DCC5B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ced248;
/* rgb */ color: rgb(206, 210, 72);
/* oklch */ color: oklch(83.6% 0.157 111.0);
Tailwind
colors: {
  custom: {
    50: '#e0df82',
    500: '#ced248',
    950: '#000000',
  },
}
SCSS
$custom: #ced248;
$custom-light: #e0df82;
$custom-dark: #000000;
JSON
{
  "hex": "#ced248",
  "rgb": {
    "r": 206,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 61.739,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83567,
    "c": 0.15663,
    "h": 111
  },
  "luminance": 0.59683
}

Semantic roles & 50–950 ramp

primary
#CED248
secondary
#393787
accent
#44E449
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CED248

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

Preview Lab → · Contrast checker → · Palette generator →

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