#CFC756#CFC756

#CFC756 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.134 H 105.2°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CFC756
RGBrgb(207, 199, 86)
HSLhsl(56, 56%, 57%)
HSVhsv(56, 58%, 81%)
CMYKcmyk(0%, 3.9%, 58.5%, 18.8%)
CIE-LABlab(78.92, -11.41, 56.26)
CIE-LCHlch(78.92, 57.40, 101.46°)
OKLaboklab(81.43% -0.0353 0.1297)
OKLCHoklch(81.43% 0.134 105.2)
XYZxyz(47.8368, 54.7857, 16.8571)
Luminance0.5478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC756 #565ECF
analogous
#CF8A56 #CFC756 #9BCF56
triadic
#CFC756 #56CFC7 #C756CF
tetradic
#CFC756 #56CF8A #565ECF #CF569B
square
#CFC756 #56CF8A #565ECF #CF569B
split-complementary
#CFC756 #569BCF #8A56CF
monochromatic
#857F26 #B5AC33 #CFC756 #DDD786 #EAE7B5

Accessibility & contrast

On white

1.76
#CFC756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#CFC756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC756
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC756#FFFFFF#000000##000000
##CFC7561.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C04A
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#DDBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc756;
/* rgb */ color: rgb(207, 199, 86);
/* oklch */ color: oklch(81.4% 0.134 105.2);
Tailwind
colors: {
  custom: {
    50: '#e0d78a',
    500: '#cfc756',
    950: '#000000',
  },
}
SCSS
$custom: #cfc756;
$custom-light: #e0d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc756",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 56.033,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81432,
    "c": 0.1344,
    "h": 105.2
  },
  "luminance": 0.54784
}

Semantic roles & 50–950 ramp

primary
#CFC756
secondary
#3D438C
accent
#53DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC756

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

Preview Lab → · Contrast checker → · Palette generator →

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