#CFD95C#CFD95C

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

Color values

HEX#CFD95C
RGBrgb(207, 217, 92)
HSLhsl(65, 62%, 61%)
HSVhsv(65, 58%, 85%)
CMYKcmyk(4.6%, 0%, 57.6%, 14.9%)
CIE-LABlab(83.79, -19.95, 59.04)
CIE-LCHlch(83.79, 62.31, 108.67°)
OKLaboklab(85.34% -0.0589 0.1363)
OKLCHoklch(85.34% 0.149 113.4)
XYZxyz(52.4779, 63.6648, 19.6472)
Luminance0.6366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD95C #665CD9
analogous
#D9A45C #CFD95C #90D95C
triadic
#CFD95C #5CCFD9 #D95CCF
tetradic
#CFD95C #5CD9A4 #665CD9 #D95C90
square
#CFD95C #5CD9A4 #665CD9 #D95C90
split-complementary
#CFD95C #5C90D9 #A45CD9
monochromatic
#8E9723 #BDC92F #CFD95C #DEE58E #ECF0BF

Accessibility & contrast

On white

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

On black

13.73
#CFD95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD95C
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD95C#FFFFFF#000000##000000
##CFD95C1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd95c;
/* rgb */ color: rgb(207, 217, 92);
/* oklch */ color: oklch(85.3% 0.149 113.4);
Tailwind
colors: {
  custom: {
    50: '#e0e48f',
    500: '#cfd95c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd95c;
$custom-light: #e0e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd95c",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 64.8,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85337,
    "c": 0.14851,
    "h": 113.4
  },
  "luminance": 0.63664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD95C

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

Preview Lab → · Contrast checker → · Palette generator →

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