#CFBC78#CFBC78

#CFBC78 is a light, moderate yellow. Relative luminance 0.506; OKLCH L 79.6% C 0.090 H 94.3°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#CFBC78
RGBrgb(207, 188, 120)
HSLhsl(47, 48%, 64%)
HSVhsv(47, 42%, 81%)
CMYKcmyk(0%, 9.2%, 42%, 18.8%)
CIE-LABlab(76.43, -2.72, 36.81)
CIE-LCHlch(76.43, 36.91, 94.22°)
OKLaboklab(79.59% -0.0068 0.0899)
OKLCHoklch(79.59% 0.09 94.3)
XYZxyz(47.1067, 50.5896, 25.0490)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC78 #788BCF
analogous
#CF9178 #CFBC78 #B7CF78
triadic
#CFBC78 #78CFBC #BC78CF
tetradic
#CFBC78 #78CF91 #788BCF #CF78B7
square
#CFBC78 #78CF91 #788BCF #CF78B7
split-complementary
#CFBC78 #78B7CF #9178CF
monochromatic
#978236 #BFA64B #CFBC78 #DFD2A5 #EFE9D2

Accessibility & contrast

On white

1.89
#CFBC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#CFBC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC78
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC78#FFFFFF#000000##000000
##CFBC781.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B973
Deuteranopia (green-blind)
#CEBF7A
Tritanopia (blue-blind)
#DBB2AB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbc78;
/* rgb */ color: rgb(207, 188, 120);
/* oklch */ color: oklch(79.6% 0.090 94.3);
Tailwind
colors: {
  custom: {
    50: '#dfd0a0',
    500: '#cfbc78',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc78;
$custom-light: #dfd0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc78",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 120
  },
  "hsl": {
    "h": 46.897,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.79591,
    "c": 0.09011,
    "h": 94.3
  },
  "luminance": 0.50588
}

Semantic roles & 50–950 ramp

primary
#CFBC78
secondary
#4E609D
accent
#4ABB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130F
muted
#848380

Preview Lab

Preview with #CFBC78

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

Preview Lab → · Contrast checker → · Palette generator →

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