#CFD950#CFD950

#CFD950 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.2% C 0.158 H 113.3°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#CFD950
RGBrgb(207, 217, 80)
HSLhsl(64, 64%, 58%)
HSVhsv(64, 63%, 85%)
CMYKcmyk(4.6%, 0%, 63.1%, 14.9%)
CIE-LABlab(83.69, -20.77, 63.97)
CIE-LCHlch(83.69, 67.26, 107.99°)
OKLaboklab(85.22% -0.0624 0.1452)
OKLCHoklch(85.22% 0.158 113.3)
XYZxyz(51.9943, 63.4713, 17.1001)
Luminance0.6347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD950 #5A50D9
analogous
#D99F50 #CFD950 #8AD950
triadic
#CFD950 #50CFD9 #D950CF
tetradic
#CFD950 #50D99F #5A50D9 #D9508A
square
#CFD950 #50D99F #5A50D9 #D9508A
split-complementary
#CFD950 #508AD9 #9F50D9
monochromatic
#878F1F #B7C22A #CFD950 #DDE482 #EBEFB5

Accessibility & contrast

On white

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

On black

13.69
#CFD950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD950
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD950#FFFFFF#000000##000000
##CFD9501.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3E
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#DCCDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd950;
/* rgb */ color: rgb(207, 217, 80);
/* oklch */ color: oklch(85.2% 0.158 113.3);
Tailwind
colors: {
  custom: {
    50: '#e1e487',
    500: '#cfd950',
    950: '#000000',
  },
}
SCSS
$custom: #cfd950;
$custom-light: #e1e487;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd950",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 64.38,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85224,
    "c": 0.15808,
    "h": 113.3
  },
  "luminance": 0.6347
}

Semantic roles & 50–950 ramp

primary
#CFD950
secondary
#3F3895
accent
#40E74D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD950

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

Preview Lab → · Contrast checker → · Palette generator →

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