#CFDA42#CFDA42

#CFDA42 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.3% C 0.169 H 113.5°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#CFDA42
RGBrgb(207, 218, 66)
HSLhsl(64, 67%, 56%)
HSVhsv(64, 70%, 85%)
CMYKcmyk(5%, 0%, 69.7%, 14.5%)
CIE-LABlab(83.86, -22.06, 69.48)
CIE-LCHlch(83.86, 72.90, 107.61°)
OKLaboklab(85.33% -0.0674 0.1547)
OKLCHoklch(85.33% 0.169 113.5)
XYZxyz(51.7884, 63.8026, 14.7402)
Luminance0.6380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDA42 #4D42DA
analogous
#DA9942 #CFDA42 #83DA42
triadic
#CFDA42 #42CFDA #DA42CF
tetradic
#CFDA42 #42DA99 #4D42DA #DA4283
square
#CFDA42 #42DA99 #4D42DA #DA4283
split-complementary
#CFDA42 #4283DA #9942DA
monochromatic
#7F871A #AFBA24 #CFDA42 #DCE475 #E9EEA8

Accessibility & contrast

On white

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

On black

13.76
#CFDA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDA42
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDA42#FFFFFF#000000##000000
##CFDA421.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD028
Deuteranopia (green-blind)
#EAD34E
Tritanopia (blue-blind)
#DDCDBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfda42;
/* rgb */ color: rgb(207, 218, 66);
/* oklch */ color: oklch(85.3% 0.169 113.5);
Tailwind
colors: {
  custom: {
    50: '#e1e580',
    500: '#cfda42',
    950: '#000000',
  },
}
SCSS
$custom: #cfda42;
$custom-light: #e1e580;
$custom-dark: #000000;
JSON
{
  "hex": "#cfda42",
  "rgb": {
    "r": 207,
    "g": 218,
    "b": 66
  },
  "hsl": {
    "h": 64.342,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85331,
    "c": 0.16871,
    "h": 113.5
  },
  "luminance": 0.63802
}

Semantic roles & 50–950 ramp

primary
#CFDA42
secondary
#39338D
accent
#3EEA4A
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFDA42

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

Preview Lab → · Contrast checker → · Palette generator →

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