#CED796#CED796

#CED796 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.7% C 0.086 H 114.6°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#CED796
RGBrgb(206, 215, 150)
HSLhsl(68, 45%, 72%)
HSVhsv(68, 30%, 84%)
CMYKcmyk(4.2%, 0%, 30.2%, 15.7%)
CIE-LABlab(83.93, -13.41, 31.14)
CIE-LCHlch(83.93, 33.90, 113.30°)
OKLaboklab(85.67% -0.0357 0.0777)
OKLCHoklch(85.67% 0.086 114.6)
XYZxyz(55.2590, 63.9252, 38.2760)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED796 #9F96D7
analogous
#D7C096 #CED796 #AED796
triadic
#CED796 #96CED7 #D796CE
tetradic
#CED796 #96D7C0 #9F96D7 #D796AE
square
#CED796 #96D7C0 #9F96D7 #D796AE
split-complementary
#CED796 #96AED7 #C096D7
monochromatic
#A1B043 #B9C66A #CED796 #E3E8C2 #F5F7E9

Accessibility & contrast

On white

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

On black

13.79
#CED796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED796
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED796#FFFFFF#000000##000000
##CED7961.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D192
Deuteranopia (green-blind)
#E0D299
Tritanopia (blue-blind)
#D5D0C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ced796;
/* rgb */ color: rgb(206, 215, 150);
/* oklch */ color: oklch(85.7% 0.086 114.6);
Tailwind
colors: {
  custom: {
    50: '#dde3b5',
    500: '#ced796',
    950: '#000000',
  },
}
SCSS
$custom: #ced796;
$custom-light: #dde3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ced796",
  "rgb": {
    "r": 206,
    "g": 215,
    "b": 150
  },
  "hsl": {
    "h": 68.308,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85669,
    "c": 0.08553,
    "h": 114.6
  },
  "luminance": 0.63925
}

Semantic roles & 50–950 ramp

primary
#CED796
secondary
#6E63AE
accent
#2EB841
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CED796

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

Preview Lab → · Contrast checker → · Palette generator →

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