#CED97B#CED97B

#CED97B is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.119 H 114.4°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#CED97B
RGBrgb(206, 217, 123)
HSLhsl(67, 55%, 67%)
HSVhsv(67, 43%, 85%)
CMYKcmyk(5.1%, 0%, 43.3%, 14.9%)
CIE-LABlab(84.06, -17.57, 44.90)
CIE-LCHlch(84.06, 48.22, 111.38°)
OKLaboklab(85.64% -0.0492 0.1083)
OKLCHoklch(85.64% 0.119 114.4)
XYZxyz(53.8422, 64.1783, 28.2863)
Luminance0.6418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED97B #867BD9
analogous
#D9B57B #CED97B #9FD97B
triadic
#CED97B #7BCED9 #D97BCE
tetradic
#CED97B #7BD9B5 #867BD9 #D97B9F
square
#CED97B #7BD9B5 #867BD9 #D97B9F
split-complementary
#CED97B #7B9FD9 #B57BD9
monochromatic
#9BA931 #BCCB4B #CED97B #E0E7AB #F1F4DA

Accessibility & contrast

On white

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

On black

13.84
#CED97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED97B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED97B#FFFFFF#000000##000000
##CED97B1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D173
Deuteranopia (green-blind)
#E4D380
Tritanopia (blue-blind)
#D8CFC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ced97b;
/* rgb */ color: rgb(206, 217, 123);
/* oklch */ color: oklch(85.6% 0.119 114.4);
Tailwind
colors: {
  custom: {
    50: '#dee4a3',
    500: '#ced97b',
    950: '#000000',
  },
}
SCSS
$custom: #ced97b;
$custom-light: #dee4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ced97b",
  "rgb": {
    "r": 206,
    "g": 217,
    "b": 123
  },
  "hsl": {
    "h": 67.021,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85643,
    "c": 0.11893,
    "h": 114.4
  },
  "luminance": 0.64178
}

Semantic roles & 50–950 ramp

primary
#CED97B
secondary
#574CAC
accent
#23C335
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CED97B

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

Preview Lab → · Contrast checker → · Palette generator →

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