#CED791#CED791

#CED791 is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.6% C 0.092 H 114.3°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#CED791
RGBrgb(206, 215, 145)
HSLhsl(68, 47%, 71%)
HSVhsv(68, 33%, 84%)
CMYKcmyk(4.2%, 0%, 32.6%, 15.7%)
CIE-LABlab(83.84, -14.05, 33.59)
CIE-LCHlch(83.84, 36.41, 112.70°)
OKLaboklab(85.58% -0.0377 0.0834)
OKLCHoklch(85.58% 0.092 114.3)
XYZxyz(54.8650, 63.7676, 36.2006)
Luminance0.6377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED791 #9A91D7
analogous
#D7BD91 #CED791 #ABD791
triadic
#CED791 #91CED7 #D791CE
tetradic
#CED791 #91D7BD #9A91D7 #D791AB
square
#CED791 #91D7BD #9A91D7 #D791AB
split-complementary
#CED791 #91ABD7 #BD91D7
monochromatic
#A0AE3F #BAC764 #CED791 #E2E7BE #F5F7E9

Accessibility & contrast

On white

1.53
#CED791 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#CED791 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED791
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED791#FFFFFF#000000##000000
##CED7911.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D08C
Deuteranopia (green-blind)
#E0D294
Tritanopia (blue-blind)
#D6CFC5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ced791;
/* rgb */ color: rgb(206, 215, 145);
/* oklch */ color: oklch(85.6% 0.092 114.3);
Tailwind
colors: {
  custom: {
    50: '#dee3b2',
    500: '#ced791',
    950: '#000000',
  },
}
SCSS
$custom: #ced791;
$custom-light: #dee3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ced791",
  "rgb": {
    "r": 206,
    "g": 215,
    "b": 145
  },
  "hsl": {
    "h": 67.714,
    "s": 46.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.85577,
    "c": 0.09151,
    "h": 114.3
  },
  "luminance": 0.63767
}

Semantic roles & 50–950 ramp

primary
#CED791
secondary
#695FAE
accent
#2CBA3E
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151511
muted
#848481

Preview Lab

Preview with #CED791

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

Preview Lab → · Contrast checker → · Palette generator →

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