#CED797#CED797

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

Color values

HEX#CED797
RGBrgb(206, 215, 151)
HSLhsl(68, 44%, 72%)
HSVhsv(68, 30%, 84%)
CMYKcmyk(4.2%, 0%, 29.8%, 15.7%)
CIE-LABlab(83.94, -13.28, 30.64)
CIE-LCHlch(83.94, 33.40, 113.43°)
OKLaboklab(85.69% -0.0353 0.0766)
OKLCHoklch(85.69% 0.084 114.7)
XYZxyz(55.3399, 63.9575, 38.7019)
Luminance0.6396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED797 #A097D7
analogous
#D7C097 #CED797 #AED797
triadic
#CED797 #97CED7 #D797CE
tetradic
#CED797 #97D7C0 #A097D7 #D797AE
square
#CED797 #97D7C0 #A097D7 #D797AE
split-complementary
#CED797 #97AED7 #C097D7
monochromatic
#A1B044 #B9C66B #CED797 #E3E8C3 #F5F6E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CED797#FFFFFF#000000##000000
##CED7971.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)
#E0D193
Deuteranopia (green-blind)
#DFD29A
Tritanopia (blue-blind)
#D5D0C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ced797;
/* rgb */ color: rgb(206, 215, 151);
/* oklch */ color: oklch(85.7% 0.084 114.7);
Tailwind
colors: {
  custom: {
    50: '#dde3b6',
    500: '#ced797',
    950: '#000000',
  },
}
SCSS
$custom: #ced797;
$custom-light: #dde3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ced797",
  "rgb": {
    "r": 206,
    "g": 215,
    "b": 151
  },
  "hsl": {
    "h": 68.438,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85688,
    "c": 0.08433,
    "h": 114.7
  },
  "luminance": 0.63957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CED797

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

Preview Lab → · Contrast checker → · Palette generator →

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