#CFC356#CFC356

#CFC356 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.131 H 103.1°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CFC356
RGBrgb(207, 195, 86)
HSLhsl(54, 56%, 57%)
HSVhsv(54, 58%, 81%)
CMYKcmyk(0%, 5.8%, 58.5%, 18.8%)
CIE-LABlab(77.86, -9.37, 55.08)
CIE-LCHlch(77.86, 55.87, 99.65°)
OKLaboklab(80.59% -0.0295 0.1272)
OKLCHoklch(80.59% 0.131 103.1)
XYZxyz(46.9286, 52.9692, 16.5544)
Luminance0.5297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC356 #5662CF
analogous
#CF8756 #CFC356 #9ECF56
triadic
#CFC356 #56CFC3 #C356CF
tetradic
#CFC356 #56CF87 #5662CF #CF569E
square
#CFC356 #56CF87 #5662CF #CF569E
split-complementary
#CFC356 #569ECF #8756CF
monochromatic
#857B26 #B5A833 #CFC356 #DDD486 #EAE5B5

Accessibility & contrast

On white

1.81
#CFC356 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#CFC356 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC356
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC356#FFFFFF#000000##000000
##CFC3561.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4A
Deuteranopia (green-blind)
#D7C35C
Tritanopia (blue-blind)
#DDB7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc356;
/* rgb */ color: rgb(207, 195, 86);
/* oklch */ color: oklch(80.6% 0.131 103.1);
Tailwind
colors: {
  custom: {
    50: '#e0d489',
    500: '#cfc356',
    950: '#000000',
  },
}
SCSS
$custom: #cfc356;
$custom-light: #e0d489;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc356",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 86
  },
  "hsl": {
    "h": 54.05,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80589,
    "c": 0.13053,
    "h": 103.1
  },
  "luminance": 0.52967
}

Semantic roles & 50–950 ramp

primary
#CFC356
secondary
#3D458C
accent
#58DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC356

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

Preview Lab → · Contrast checker → · Palette generator →

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