#CEDC5F#CEDC5F

#CEDC5F is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 85.9% C 0.150 H 114.9°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#CEDC5F
RGBrgb(206, 220, 95)
HSLhsl(67, 64%, 62%)
HSVhsv(67, 57%, 86%)
CMYKcmyk(6.4%, 0%, 56.8%, 13.7%)
CIE-LABlab(84.55, -21.58, 58.56)
CIE-LCHlch(84.55, 62.41, 110.23°)
OKLaboklab(85.94% -0.0631 0.1357)
OKLCHoklch(85.94% 0.15 114.9)
XYZxyz(53.1134, 65.1352, 20.5986)
Luminance0.6513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEDC5F #6D5FDC
analogous
#DCAC5F #CEDC5F #90DC5F
triadic
#CEDC5F #5FCEDC #DC5FCE
tetradic
#CEDC5F #5FDCAC #6D5FDC #DC5F90
square
#CEDC5F #5FDCAC #6D5FDC #DC5F90
split-complementary
#CEDC5F #5F90DC #AC5FDC
monochromatic
#909E23 #BED02E #CEDC5F #DDE791 #EDF2C3

Accessibility & contrast

On white

1.50
#CEDC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#CEDC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEDC5F
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEDC5F#FFFFFF#000000##000000
##CEDC5F1.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#E9D467
Tritanopia (blue-blind)
#DAD1C1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cedc5f;
/* rgb */ color: rgb(206, 220, 95);
/* oklch */ color: oklch(85.9% 0.150 114.9);
Tailwind
colors: {
  custom: {
    50: '#dfe691',
    500: '#cedc5f',
    950: '#000000',
  },
}
SCSS
$custom: #cedc5f;
$custom-light: #dfe691;
$custom-dark: #000000;
JSON
{
  "hex": "#cedc5f",
  "rgb": {
    "r": 206,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 66.72,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85938,
    "c": 0.14964,
    "h": 114.9
  },
  "luminance": 0.65134
}

Semantic roles & 50–950 ramp

primary
#CEDC5F
secondary
#493EA2
accent
#1ACC2E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CEDC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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