#CFC078#CFC078

#CFC078 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.094 H 97.9°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CFC078
RGBrgb(207, 192, 120)
HSLhsl(50, 48%, 64%)
HSVhsv(50, 42%, 81%)
CMYKcmyk(0%, 7.2%, 42%, 18.8%)
CIE-LABlab(77.47, -4.80, 38.14)
CIE-LCHlch(77.47, 38.44, 97.18°)
OKLaboklab(80.42% -0.0128 0.0929)
OKLCHoklch(80.42% 0.094 97.9)
XYZxyz(47.9730, 52.3223, 25.3378)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC078 #7887CF
analogous
#CF9578 #CFC078 #B3CF78
triadic
#CFC078 #78CFC0 #C078CF
tetradic
#CFC078 #78CF95 #7887CF #CF78B3
square
#CFC078 #78CF95 #7887CF #CF78B3
split-complementary
#CFC078 #78B3CF #9578CF
monochromatic
#978636 #BFAB4B #CFC078 #DFD5A5 #EFEAD2

Accessibility & contrast

On white

1.83
#CFC078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CFC078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC078
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC078#FFFFFF#000000##000000
##CFC0781.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC72
Deuteranopia (green-blind)
#D1C27B
Tritanopia (blue-blind)
#DBB6AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc078;
/* rgb */ color: rgb(207, 192, 120);
/* oklch */ color: oklch(80.4% 0.094 97.9);
Tailwind
colors: {
  custom: {
    50: '#dfd2a0',
    500: '#cfc078',
    950: '#000000',
  },
}
SCSS
$custom: #cfc078;
$custom-light: #dfd2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc078",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 120
  },
  "hsl": {
    "h": 49.655,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80416,
    "c": 0.09376,
    "h": 97.9
  },
  "luminance": 0.52321
}

Semantic roles & 50–950 ramp

primary
#CFC078
secondary
#4E5C9D
accent
#44BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC078

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

Preview Lab → · Contrast checker → · Palette generator →

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