#CDD95C#CDD95C

#CDD95C is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.2% C 0.149 H 114.2°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#CDD95C
RGBrgb(205, 217, 92)
HSLhsl(66, 62%, 61%)
HSVhsv(66, 58%, 85%)
CMYKcmyk(5.5%, 0%, 57.6%, 14.9%)
CIE-LABlab(83.64, -20.75, 58.83)
CIE-LCHlch(83.64, 62.38, 109.43°)
OKLaboklab(85.18% -0.061 0.1359)
OKLCHoklch(85.18% 0.149 114.2)
XYZxyz(51.9226, 63.3784, 19.6212)
Luminance0.6338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD95C #685CD9
analogous
#D9A65C #CDD95C #8ED95C
triadic
#CDD95C #5CCDD9 #D95CCD
tetradic
#CDD95C #5CD9A6 #685CD9 #D95C8E
square
#CDD95C #5CD9A6 #685CD9 #D95C8E
split-complementary
#CDD95C #5C8ED9 #A65CD9
monochromatic
#8C9723 #BAC92F #CDD95C #DCE58E #EBF0BF

Accessibility & contrast

On white

1.54
#CDD95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#CDD95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD95C
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD95C#FFFFFF#000000##000000
##CDD95C1.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4E
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#D9CDBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd95c;
/* rgb */ color: rgb(205, 217, 92);
/* oklch */ color: oklch(85.2% 0.149 114.2);
Tailwind
colors: {
  custom: {
    50: '#dfe48f',
    500: '#cdd95c',
    950: '#000000',
  },
}
SCSS
$custom: #cdd95c;
$custom-light: #dfe48f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd95c",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 65.76,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8518,
    "c": 0.149,
    "h": 114.2
  },
  "luminance": 0.63378
}

Semantic roles & 50–950 ramp

primary
#CDD95C
secondary
#463D9C
accent
#1CCA2C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD95C

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

Preview Lab → · Contrast checker → · Palette generator →

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