#CFCE78#CFCE78

#CFCE78 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.3% C 0.109 H 108.0°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#CFCE78
RGBrgb(207, 206, 120)
HSLhsl(59, 48%, 64%)
HSVhsv(59, 42%, 81%)
CMYKcmyk(0%, 0.5%, 42%, 18.8%)
CIE-LABlab(81.16, -11.99, 42.79)
CIE-LCHlch(81.16, 44.44, 105.65°)
OKLaboklab(83.34% -0.0335 0.1034)
OKLCHoklch(83.34% 0.109 108)
XYZxyz(51.1945, 58.7652, 26.4117)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE78 #7879CF
analogous
#CFA378 #CFCE78 #A5CF78
triadic
#CFCE78 #78CFCE #CE78CF
tetradic
#CFCE78 #78CFA3 #7879CF #CF78A5
square
#CFCE78 #78CFA3 #7879CF #CF78A5
split-complementary
#CFCE78 #78A5CF #A378CF
monochromatic
#979636 #BFBE4B #CFCE78 #DFDEA5 #EFEFD2

Accessibility & contrast

On white

1.65
#CFCE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#CFCE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE78
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE78#FFFFFF#000000##000000
##CFCE781.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC871
Deuteranopia (green-blind)
#DCCB7C
Tritanopia (blue-blind)
#DAC4B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfce78;
/* rgb */ color: rgb(207, 206, 120);
/* oklch */ color: oklch(83.3% 0.109 108.0);
Tailwind
colors: {
  custom: {
    50: '#dfdca0',
    500: '#cfce78',
    950: '#000000',
  },
}
SCSS
$custom: #cfce78;
$custom-light: #dfdca0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce78",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 120
  },
  "hsl": {
    "h": 59.31,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83342,
    "c": 0.10867,
    "h": 108
  },
  "luminance": 0.58764
}

Semantic roles & 50–950 ramp

primary
#CFCE78
secondary
#4E4F9D
accent
#2CBB2B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCE78

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

Preview Lab → · Contrast checker → · Palette generator →

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