#CFCF78#CFCF78

#CFCF78 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.110 H 108.6°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#CFCF78
RGBrgb(207, 207, 120)
HSLhsl(60, 48%, 64%)
HSVhsv(60, 42%, 81%)
CMYKcmyk(0%, 0%, 42%, 18.8%)
CIE-LABlab(81.43, -12.49, 43.12)
CIE-LCHlch(81.43, 44.89, 106.16°)
OKLaboklab(83.55% -0.035 0.1041)
OKLCHoklch(83.55% 0.11 108.6)
XYZxyz(51.4360, 59.2482, 26.4922)
Luminance0.5925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF78 #7878CF
analogous
#CFA478 #CFCF78 #A4CF78
triadic
#CFCF78 #78CFCF #CF78CF
tetradic
#CFCF78 #78CFA4 #7878CF #CF78A4
square
#CFCF78 #78CFA4 #7878CF #CF78A4
split-complementary
#CFCF78 #78A4CF #A478CF
monochromatic
#979736 #BFBF4B #CFCF78 #DFDFA5 #EFEFD2

Accessibility & contrast

On white

1.63
#CFCF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#CFCF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF78
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF78#FFFFFF#000000##000000
##CFCF781.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcf78;
/* rgb */ color: rgb(207, 207, 120);
/* oklch */ color: oklch(83.6% 0.110 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfdda0',
    500: '#cfcf78',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf78;
$custom-light: #dfdda0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf78",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 120
  },
  "hsl": {
    "h": 60,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83553,
    "c": 0.10983,
    "h": 108.6
  },
  "luminance": 0.59247
}

Semantic roles & 50–950 ramp

primary
#CFCF78
secondary
#4E4E9D
accent
#2BBB2B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCF78

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

Preview Lab → · Contrast checker → · Palette generator →

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