#CFCE7D#CFCE7D

#CFCE7D is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.4% C 0.103 H 107.8°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#CFCE7D
RGBrgb(207, 206, 125)
HSLhsl(59, 46%, 65%)
HSVhsv(59, 40%, 81%)
CMYKcmyk(0%, 0.5%, 39.6%, 18.8%)
CIE-LABlab(81.23, -11.46, 40.38)
CIE-LCHlch(81.23, 41.97, 105.84°)
OKLaboklab(83.42% -0.0316 0.0982)
OKLCHoklch(83.42% 0.103 107.8)
XYZxyz(51.5059, 58.8898, 28.0517)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE7D #7D7ECF
analogous
#CFA57D #CFCE7D #A7CF7D
triadic
#CFCE7D #7DCFCE #CE7DCF
tetradic
#CFCE7D #7DCFA5 #7D7ECF #CF7DA7
square
#CFCE7D #7DCFA5 #7D7ECF #CF7DA7
split-complementary
#CFCE7D #7DA7CF #A57DCF
monochromatic
#999839 #BEBD50 #CFCE7D #E0DFAA #F0F0D6

Accessibility & contrast

On white

1.64
#CFCE7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#CFCE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE7D
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE7D#FFFFFF#000000##000000
##CFCE7D1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC877
Deuteranopia (green-blind)
#DCCB81
Tritanopia (blue-blind)
#DAC5BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfce7d;
/* rgb */ color: rgb(207, 206, 125);
/* oklch */ color: oklch(83.4% 0.103 107.8);
Tailwind
colors: {
  custom: {
    50: '#dfdca4',
    500: '#cfce7d',
    950: '#000000',
  },
}
SCSS
$custom: #cfce7d;
$custom-light: #dfdca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce7d",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 125
  },
  "hsl": {
    "h": 59.268,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83419,
    "c": 0.10317,
    "h": 107.8
  },
  "luminance": 0.58889
}

Semantic roles & 50–950 ramp

primary
#CFCE7D
secondary
#51529F
accent
#2EB92C
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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