#CFCE4D#CFCE4D

#CFCE4D is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.8% C 0.149 H 108.8°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#CFCE4D
RGBrgb(207, 206, 77)
HSLhsl(60, 58%, 56%)
HSVhsv(60, 63%, 81%)
CMYKcmyk(0%, 0.5%, 62.8%, 18.8%)
CIE-LABlab(80.71, -15.53, 62.05)
CIE-LCHlch(80.71, 63.97, 104.05°)
OKLaboklab(82.83% -0.048 0.1407)
OKLCHoklch(82.83% 0.149 108.8)
XYZxyz(49.1446, 57.9452, 15.6155)
Luminance0.5794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE4D #4D4ECF
analogous
#CF8D4D #CFCE4D #8FCF4D
triadic
#CFCE4D #4DCFCE #CE4DCF
tetradic
#CFCE4D #4DCF8D #4D4ECF #CF4D8F
square
#CFCE4D #4DCF8D #4D4ECF #CF4D8F
split-complementary
#CFCE4D #4D8FCF #8D4DCF
monochromatic
#7F7F22 #AFAE2F #CFCE4D #DCDB7D #E9E9AD

Accessibility & contrast

On white

1.67
#CFCE4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#CFCE4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE4D
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE4D#FFFFFF#000000##000000
##CFCE4D1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63D
Deuteranopia (green-blind)
#E0CA55
Tritanopia (blue-blind)
#DDC2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfce4d;
/* rgb */ color: rgb(207, 206, 77);
/* oklch */ color: oklch(82.8% 0.149 108.8);
Tailwind
colors: {
  custom: {
    50: '#e1dc85',
    500: '#cfce4d',
    950: '#000000',
  },
}
SCSS
$custom: #cfce4d;
$custom-light: #e1dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce4d",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 77
  },
  "hsl": {
    "h": 59.538,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82834,
    "c": 0.14869,
    "h": 108.8
  },
  "luminance": 0.57944
}

Semantic roles & 50–950 ramp

primary
#CFCE4D
secondary
#393A87
accent
#48E147
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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