#CFC156#CFC156

#CFC156 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.129 H 101.9°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CFC156
RGBrgb(207, 193, 86)
HSLhsl(53, 56%, 57%)
HSVhsv(53, 58%, 81%)
CMYKcmyk(0%, 6.8%, 58.5%, 18.8%)
CIE-LABlab(77.33, -8.34, 54.49)
CIE-LCHlch(77.33, 55.12, 98.70°)
OKLaboklab(80.17% -0.0265 0.1259)
OKLCHoklch(80.17% 0.129 101.9)
XYZxyz(46.4835, 52.0790, 16.4060)
Luminance0.5208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC156 #5664CF
analogous
#CF8556 #CFC156 #A0CF56
triadic
#CFC156 #56CFC1 #C156CF
tetradic
#CFC156 #56CF85 #5664CF #CF56A0
square
#CFC156 #56CF85 #5664CF #CF56A0
split-complementary
#CFC156 #56A0CF #8556CF
monochromatic
#857A26 #B5A633 #CFC156 #DDD286 #EAE4B5

Accessibility & contrast

On white

1.84
#CFC156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CFC156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC156
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC156#FFFFFF#000000##000000
##CFC1561.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4B
Deuteranopia (green-blind)
#D5C25B
Tritanopia (blue-blind)
#DDB5AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc156;
/* rgb */ color: rgb(207, 193, 86);
/* oklch */ color: oklch(80.2% 0.129 101.9);
Tailwind
colors: {
  custom: {
    50: '#e0d389',
    500: '#cfc156',
    950: '#000000',
  },
}
SCSS
$custom: #cfc156;
$custom-light: #e0d389;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc156",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 53.058,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80169,
    "c": 0.12866,
    "h": 101.9
  },
  "luminance": 0.52077
}

Semantic roles & 50–950 ramp

primary
#CFC156
secondary
#3D468C
accent
#5ADF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC156

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

Preview Lab → · Contrast checker → · Palette generator →

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