#CFCD78#CFCD78

#CFCD78 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.108 H 107.3°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CFCD78
RGBrgb(207, 205, 120)
HSLhsl(59, 48%, 64%)
HSVhsv(59, 42%, 81%)
CMYKcmyk(0%, 1%, 42%, 18.8%)
CIE-LABlab(80.90, -11.48, 42.46)
CIE-LCHlch(80.90, 43.98, 105.13°)
OKLaboklab(83.13% -0.0321 0.1026)
OKLCHoklch(83.13% 0.108 107.3)
XYZxyz(50.9545, 58.2853, 26.3317)
Luminance0.5828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD78 #787ACF
analogous
#CFA278 #CFCD78 #A6CF78
triadic
#CFCD78 #78CFCD #CD78CF
tetradic
#CFCD78 #78CFA2 #787ACF #CF78A6
square
#CFCD78 #78CFA2 #787ACF #CF78A6
split-complementary
#CFCD78 #78A6CF #A278CF
monochromatic
#979536 #BFBC4B #CFCD78 #DFDEA5 #EFEED2

Accessibility & contrast

On white

1.66
#CFCD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#CFCD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD78
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD78#FFFFFF#000000##000000
##CFCD781.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC771
Deuteranopia (green-blind)
#DBCB7C
Tritanopia (blue-blind)
#DAC3B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd78;
/* rgb */ color: rgb(207, 205, 120);
/* oklch */ color: oklch(83.1% 0.108 107.3);
Tailwind
colors: {
  custom: {
    50: '#dfdca0',
    500: '#cfcd78',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd78;
$custom-light: #dfdca0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd78",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 58.621,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83131,
    "c": 0.10752,
    "h": 107.3
  },
  "luminance": 0.58284
}

Semantic roles & 50–950 ramp

primary
#CFCD78
secondary
#4E509D
accent
#2EBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCD78

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

Preview Lab → · Contrast checker → · Palette generator →

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