#CFC678#CFC678

#CFC678 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.100 H 102.6°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CFC678
RGBrgb(207, 198, 120)
HSLhsl(54, 48%, 64%)
HSVhsv(54, 42%, 81%)
CMYKcmyk(0%, 4.3%, 42%, 18.8%)
CIE-LABlab(79.05, -7.91, 40.14)
CIE-LCHlch(79.05, 40.91, 101.14°)
OKLaboklab(81.66% -0.0218 0.0974)
OKLCHoklch(81.66% 0.1 102.6)
XYZxyz(49.3174, 55.0110, 25.7860)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC678 #7881CF
analogous
#CF9B78 #CFC678 #ADCF78
triadic
#CFC678 #78CFC6 #C678CF
tetradic
#CFC678 #78CF9B #7881CF #CF78AD
square
#CFC678 #78CF9B #7881CF #CF78AD
split-complementary
#CFC678 #78ADCF #9B78CF
monochromatic
#978D36 #BFB34B #CFC678 #DFD9A5 #EFECD2

Accessibility & contrast

On white

1.75
#CFC678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#CFC678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC678
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC678#FFFFFF#000000##000000
##CFC6781.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C172
Deuteranopia (green-blind)
#D6C67B
Tritanopia (blue-blind)
#DBBCB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc678;
/* rgb */ color: rgb(207, 198, 120);
/* oklch */ color: oklch(81.7% 0.100 102.6);
Tailwind
colors: {
  custom: {
    50: '#dfd7a0',
    500: '#cfc678',
    950: '#000000',
  },
}
SCSS
$custom: #cfc678;
$custom-light: #dfd7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc678",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 120
  },
  "hsl": {
    "h": 53.793,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81663,
    "c": 0.09981,
    "h": 102.6
  },
  "luminance": 0.5501
}

Semantic roles & 50–950 ramp

primary
#CFC678
secondary
#4E579D
accent
#3ABB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC678

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

Preview Lab → · Contrast checker → · Palette generator →

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