#CED798#CED798

#CED798 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.7% C 0.083 H 114.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#CED798
RGBrgb(206, 215, 152)
HSLhsl(69, 44%, 72%)
HSVhsv(69, 29%, 84%)
CMYKcmyk(4.2%, 0%, 29.3%, 15.7%)
CIE-LABlab(83.96, -13.15, 30.15)
CIE-LCHlch(83.96, 32.89, 113.56°)
OKLaboklab(85.71% -0.0348 0.0755)
OKLCHoklch(85.71% 0.083 114.8)
XYZxyz(55.4214, 63.9902, 39.1314)
Luminance0.6399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED798 #A198D7
analogous
#D7C198 #CED798 #AFD798
triadic
#CED798 #98CED7 #D798CE
tetradic
#CED798 #98D7C1 #A198D7 #D798AF
square
#CED798 #98D7C1 #A198D7 #D798AF
split-complementary
#CED798 #98AFD7 #C198D7
monochromatic
#A1B044 #B9C66C #CED798 #E3E8C4 #F5F6E9

Accessibility & contrast

On white

1.52
#CED798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#CED798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED798
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED798#FFFFFF#000000##000000
##CED7981.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D194
Deuteranopia (green-blind)
#DFD29B
Tritanopia (blue-blind)
#D5D0C7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ced798;
/* rgb */ color: rgb(206, 215, 152);
/* oklch */ color: oklch(85.7% 0.083 114.8);
Tailwind
colors: {
  custom: {
    50: '#dde3b6',
    500: '#ced798',
    950: '#000000',
  },
}
SCSS
$custom: #ced798;
$custom-light: #dde3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ced798",
  "rgb": {
    "r": 206,
    "g": 215,
    "b": 152
  },
  "hsl": {
    "h": 68.571,
    "s": 44.056,
    "l": 71.961
  },
  "oklch": {
    "l": 0.85707,
    "c": 0.08311,
    "h": 114.8
  },
  "luminance": 0.6399
}

Semantic roles & 50–950 ramp

primary
#CED798
secondary
#7065AE
accent
#2EB742
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CED798

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

Preview Lab → · Contrast checker → · Palette generator →

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