#CFC256#CFC256

#CFC256 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.130 H 102.5°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CFC256
RGBrgb(207, 194, 86)
HSLhsl(54, 56%, 57%)
HSVhsv(54, 58%, 81%)
CMYKcmyk(0%, 6.3%, 58.5%, 18.8%)
CIE-LABlab(77.59, -8.86, 54.78)
CIE-LCHlch(77.59, 55.49, 99.18°)
OKLaboklab(80.38% -0.028 0.1265)
OKLCHoklch(80.38% 0.13 102.5)
XYZxyz(46.7053, 52.5226, 16.4800)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC256 #5663CF
analogous
#CF8656 #CFC256 #9FCF56
triadic
#CFC256 #56CFC2 #C256CF
tetradic
#CFC256 #56CF86 #5663CF #CF569F
square
#CFC256 #56CF86 #5663CF #CF569F
split-complementary
#CFC256 #569FCF #8656CF
monochromatic
#857B26 #B5A733 #CFC256 #DDD386 #EAE4B5

Accessibility & contrast

On white

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

On black

11.50
#CFC256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC256
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC256#FFFFFF#000000##000000
##CFC2561.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC4B
Deuteranopia (green-blind)
#D6C25C
Tritanopia (blue-blind)
#DDB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc256;
/* rgb */ color: rgb(207, 194, 86);
/* oklch */ color: oklch(80.4% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#e0d489',
    500: '#cfc256',
    950: '#000000',
  },
}
SCSS
$custom: #cfc256;
$custom-light: #e0d489;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc256",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 53.554,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80378,
    "c": 0.1296,
    "h": 102.5
  },
  "luminance": 0.52521
}

Semantic roles & 50–950 ramp

primary
#CFC256
secondary
#3D468C
accent
#59DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC256

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

Preview Lab → · Contrast checker → · Palette generator →

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