#CEDC7F#CEDC7F

#CEDC7F is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.3% C 0.118 H 116.0°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#CEDC7F
RGBrgb(206, 220, 127)
HSLhsl(69, 57%, 68%)
HSVhsv(69, 42%, 86%)
CMYKcmyk(6.4%, 0%, 42.3%, 13.7%)
CIE-LABlab(84.92, -18.63, 44.01)
CIE-LCHlch(84.92, 47.79, 112.95°)
OKLaboklab(86.34% -0.0518 0.1065)
OKLCHoklch(86.34% 0.118 116)
XYZxyz(54.8780, 65.8411, 29.8922)
Luminance0.6584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEDC7F #8D7FDC
analogous
#DCBB7F #CEDC7F #9FDC7F
triadic
#CEDC7F #7FCEDC #DC7FCE
tetradic
#CEDC7F #7FDCBB #8D7FDC #DC7F9F
square
#CEDC7F #7FDCBB #8D7FDC #DC7F9F
split-complementary
#CEDC7F #7F9FDC #BB7FDC
monochromatic
#9DB030 #BCCF4F #CEDC7F #E0E9AF #F3F6DF

Accessibility & contrast

On white

1.48
#CEDC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#CEDC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEDC7F
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEDC7F#FFFFFF#000000##000000
##CEDC7F1.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D378
Deuteranopia (green-blind)
#E6D584
Tritanopia (blue-blind)
#D7D3C6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #cedc7f;
/* rgb */ color: rgb(206, 220, 127);
/* oklch */ color: oklch(86.3% 0.118 116.0);
Tailwind
colors: {
  custom: {
    50: '#dee6a5',
    500: '#cedc7f',
    950: '#000000',
  },
}
SCSS
$custom: #cedc7f;
$custom-light: #dee6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cedc7f",
  "rgb": {
    "r": 206,
    "g": 220,
    "b": 127
  },
  "hsl": {
    "h": 69.032,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86344,
    "c": 0.11847,
    "h": 116
  },
  "luminance": 0.65841
}

Semantic roles & 50–950 ramp

primary
#CEDC7F
secondary
#5C4DB2
accent
#21C53A
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CEDC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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