#CED298#CED298

#CED298 is a very light, moderate yellow. Relative luminance 0.615; OKLCH L 84.7% C 0.076 H 111.2°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#CED298
RGBrgb(206, 210, 152)
HSLhsl(64, 39%, 71%)
HSVhsv(64, 28%, 82%)
CMYKcmyk(1.9%, 0%, 27.6%, 17.6%)
CIE-LABlab(82.64, -10.62, 28.38)
CIE-LCHlch(82.64, 30.30, 110.51°)
OKLaboklab(84.66% -0.0277 0.0712)
OKLCHoklch(84.66% 0.076 111.2)
XYZxyz(54.1677, 61.4826, 38.7135)
Luminance0.6148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED298 #9C98D2
analogous
#D2B998 #CED298 #B1D298
triadic
#CED298 #98CED2 #D298CE
tetradic
#CED298 #98D2B9 #9C98D2 #D298B1
square
#CED298 #98D2B9 #9C98D2 #D298B1
split-complementary
#CED298 #98B1D2 #B998D2
monochromatic
#A0A749 #BABF6D #CED298 #E2E5C3 #F5F6EA

Accessibility & contrast

On white

1.58
#CED298 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#CED298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED298
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED298#FFFFFF#000000##000000
##CED2981.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCD94
Deuteranopia (green-blind)
#DBCF9A
Tritanopia (blue-blind)
#D6CBC3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ced298;
/* rgb */ color: rgb(206, 210, 152);
/* oklch */ color: oklch(84.7% 0.076 111.2);
Tailwind
colors: {
  custom: {
    50: '#dddfb6',
    500: '#ced298',
    950: '#000000',
  },
}
SCSS
$custom: #ced298;
$custom-light: #dddfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ced298",
  "rgb": {
    "r": 206,
    "g": 210,
    "b": 152
  },
  "hsl": {
    "h": 64.138,
    "s": 39.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.84656,
    "c": 0.07641,
    "h": 111.2
  },
  "luminance": 0.61482
}

Semantic roles & 50–950 ramp

primary
#CED298
secondary
#6B66A8
accent
#33B23C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CED298

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

Preview Lab → · Contrast checker → · Palette generator →

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