#CFD95E#CFD95E

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

Color values

HEX#CFD95E
RGBrgb(207, 217, 94)
HSLhsl(65, 62%, 61%)
HSVhsv(65, 57%, 85%)
CMYKcmyk(4.6%, 0%, 56.7%, 14.9%)
CIE-LABlab(83.81, -19.79, 58.18)
CIE-LCHlch(83.81, 61.46, 108.79°)
OKLaboklab(85.36% -0.0582 0.1348)
OKLCHoklch(85.36% 0.147 113.4)
XYZxyz(52.5665, 63.7002, 20.1137)
Luminance0.6370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD95E #685ED9
analogous
#D9A55E #CFD95E #91D95E
triadic
#CFD95E #5ECFD9 #D95ECF
tetradic
#CFD95E #5ED9A5 #685ED9 #D95E91
square
#CFD95E #5ED9A5 #685ED9 #D95E91
split-complementary
#CFD95E #5E91D9 #A55ED9
monochromatic
#8F9924 #BECA30 #CFD95E #DEE590 #EDF0C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD95E#FFFFFF#000000##000000
##CFD95E1.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)
#E7D051
Deuteranopia (green-blind)
#E7D265
Tritanopia (blue-blind)
#DBCDBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd95e;
/* rgb */ color: rgb(207, 217, 94);
/* oklch */ color: oklch(85.4% 0.147 113.4);
Tailwind
colors: {
  custom: {
    50: '#e0e490',
    500: '#cfd95e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd95e;
$custom-light: #e0e490;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd95e",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 64.878,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85358,
    "c": 0.1468,
    "h": 113.4
  },
  "luminance": 0.63699
}

Semantic roles & 50–950 ramp

primary
#CFD95E
secondary
#463E9D
accent
#1CCA2A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD95E

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

Preview Lab → · Contrast checker → · Palette generator →

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