#CFCE7E#CFCE7E

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

Color values

HEX#CFCE7E
RGBrgb(207, 206, 126)
HSLhsl(59, 46%, 65%)
HSVhsv(59, 39%, 81%)
CMYKcmyk(0%, 0.5%, 39.1%, 18.8%)
CIE-LABlab(81.25, -11.35, 39.89)
CIE-LCHlch(81.25, 41.48, 105.88°)
OKLaboklab(83.44% -0.0312 0.0972)
OKLCHoklch(83.44% 0.102 107.8)
XYZxyz(51.5701, 58.9154, 28.3898)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE7E #7E7FCF
analogous
#CFA57E #CFCE7E #A8CF7E
triadic
#CFCE7E #7ECFCE #CE7ECF
tetradic
#CFCE7E #7ECFA5 #7E7FCF #CF7EA8
square
#CFCE7E #7ECFA5 #7E7FCF #CF7EA8
split-complementary
#CFCE7E #7EA8CF #A57ECF
monochromatic
#999839 #BEBD51 #CFCE7E #E0DFAB #F0F0D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCE7E#FFFFFF#000000##000000
##CFCE7E1.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)
#DAC878
Deuteranopia (green-blind)
#DCCB81
Tritanopia (blue-blind)
#DAC5BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfce7e;
/* rgb */ color: rgb(207, 206, 126);
/* oklch */ color: oklch(83.4% 0.102 107.8);
Tailwind
colors: {
  custom: {
    50: '#dfdca4',
    500: '#cfce7e',
    950: '#000000',
  },
}
SCSS
$custom: #cfce7e;
$custom-light: #dfdca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce7e",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 126
  },
  "hsl": {
    "h": 59.259,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83435,
    "c": 0.10206,
    "h": 107.8
  },
  "luminance": 0.58914
}

Semantic roles & 50–950 ramp

primary
#CFCE7E
secondary
#52539F
accent
#2EB92D
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCE7E

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

Preview Lab → · Contrast checker → · Palette generator →

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