#CED97F#CED97F

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

Color values

HEX#CED97F
RGBrgb(206, 217, 127)
HSLhsl(67, 54%, 67%)
HSVhsv(67, 41%, 85%)
CMYKcmyk(5.1%, 0%, 41.5%, 14.9%)
CIE-LABlab(84.11, -17.15, 43.00)
CIE-LCHlch(84.11, 46.29, 111.74°)
OKLaboklab(85.7% -0.0476 0.1043)
OKLCHoklch(85.7% 0.115 114.6)
XYZxyz(54.0977, 64.2805, 29.6321)
Luminance0.6428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CED97F #8A7FD9
analogous
#D9B77F #CED97F #A1D97F
triadic
#CED97F #7FCED9 #D97FCE
tetradic
#CED97F #7FD9B7 #8A7FD9 #D97FA1
square
#CED97F #7FD9B7 #8A7FD9 #D97FA1
split-complementary
#CED97F #7FA1D9 #B77FD9
monochromatic
#9CAB33 #BCCB50 #CED97F #E0E7AE #F2F5DD

Accessibility & contrast

On white

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

On black

13.86
#CED97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CED97F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CED97F#FFFFFF#000000##000000
##CED97F1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D178
Deuteranopia (green-blind)
#E4D383
Tritanopia (blue-blind)
#D8D0C3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ced97f;
/* rgb */ color: rgb(206, 217, 127);
/* oklch */ color: oklch(85.7% 0.115 114.6);
Tailwind
colors: {
  custom: {
    50: '#dee4a5',
    500: '#ced97f',
    950: '#000000',
  },
}
SCSS
$custom: #ced97f;
$custom-light: #dee4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ced97f",
  "rgb": {
    "r": 206,
    "g": 217,
    "b": 127
  },
  "hsl": {
    "h": 67.333,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85703,
    "c": 0.11462,
    "h": 114.6
  },
  "luminance": 0.6428
}

Semantic roles & 50–950 ramp

primary
#CED97F
secondary
#5A4EAE
accent
#24C237
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CED97F

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

Preview Lab → · Contrast checker → · Palette generator →

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