#CFD95D#CFD95D

#CFD95D is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.3% C 0.148 H 113.4°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#CFD95D
RGBrgb(207, 217, 93)
HSLhsl(65, 62%, 61%)
HSVhsv(65, 57%, 85%)
CMYKcmyk(4.6%, 0%, 57.1%, 14.9%)
CIE-LABlab(83.80, -19.87, 58.61)
CIE-LCHlch(83.80, 61.89, 108.73°)
OKLaboklab(85.35% -0.0585 0.1356)
OKLCHoklch(85.35% 0.148 113.4)
XYZxyz(52.5219, 63.6824, 19.8789)
Luminance0.6368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD95D #675DD9
analogous
#D9A55D #CFD95D #91D95D
triadic
#CFD95D #5DCFD9 #D95DCF
tetradic
#CFD95D #5DD9A5 #675DD9 #D95D91
square
#CFD95D #5DD9A5 #675DD9 #D95D91
split-complementary
#CFD95D #5D91D9 #A55DD9
monochromatic
#8F9824 #BDCA2F #CFD95D #DEE58F #ECF0C0

Accessibility & contrast

On white

1.53
#CFD95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#CFD95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD95D
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD95D#FFFFFF#000000##000000
##CFD95D1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D050
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#DBCDBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd95d;
/* rgb */ color: rgb(207, 217, 93);
/* oklch */ color: oklch(85.3% 0.148 113.4);
Tailwind
colors: {
  custom: {
    50: '#e0e48f',
    500: '#cfd95d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd95d;
$custom-light: #e0e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd95d",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 64.839,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85347,
    "c": 0.14765,
    "h": 113.4
  },
  "luminance": 0.63681
}

Semantic roles & 50–950 ramp

primary
#CFD95D
secondary
#453E9C
accent
#1CCA2A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD95D

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

Preview Lab → · Contrast checker → · Palette generator →

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