#CFD95F#CFD95F

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

Color values

HEX#CFD95F
RGBrgb(207, 217, 95)
HSLhsl(65, 62%, 61%)
HSVhsv(65, 56%, 85%)
CMYKcmyk(4.6%, 0%, 56.2%, 14.9%)
CIE-LABlab(83.82, -19.72, 57.75)
CIE-LCHlch(83.82, 61.02, 108.85°)
OKLaboklab(85.37% -0.0579 0.1339)
OKLCHoklch(85.37% 0.146 113.4)
XYZxyz(52.6117, 63.7183, 20.3516)
Luminance0.6372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD95F #695FD9
analogous
#D9A65F #CFD95F #92D95F
triadic
#CFD95F #5FCFD9 #D95FCF
tetradic
#CFD95F #5FD9A6 #695FD9 #D95F92
square
#CFD95F #5FD9A6 #695FD9 #D95F92
split-complementary
#CFD95F #5F92D9 #A65FD9
monochromatic
#909924 #BECB30 #CFD95F #DEE590 #EDF0C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD95F#FFFFFF#000000##000000
##CFD95F1.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)
#E7D052
Deuteranopia (green-blind)
#E7D266
Tritanopia (blue-blind)
#DBCDBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd95f;
/* rgb */ color: rgb(207, 217, 95);
/* oklch */ color: oklch(85.4% 0.146 113.4);
Tailwind
colors: {
  custom: {
    50: '#e0e490',
    500: '#cfd95f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd95f;
$custom-light: #e0e490;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd95f",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 64.918,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85368,
    "c": 0.14593,
    "h": 113.4
  },
  "luminance": 0.63717
}

Semantic roles & 50–950 ramp

primary
#CFD95F
secondary
#463F9E
accent
#1CC92A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD95F

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

Preview Lab → · Contrast checker → · Palette generator →

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