#CFC856#CFC856

#CFC856 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.135 H 105.7°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CFC856
RGBrgb(207, 200, 86)
HSLhsl(57, 56%, 57%)
HSVhsv(57, 58%, 81%)
CMYKcmyk(0%, 3.4%, 58.5%, 18.8%)
CIE-LABlab(79.18, -11.91, 56.55)
CIE-LCHlch(79.18, 57.80, 101.90°)
OKLaboklab(81.64% -0.0367 0.1303)
OKLCHoklch(81.64% 0.135 105.7)
XYZxyz(48.0677, 55.2474, 16.9341)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC856 #565DCF
analogous
#CF8C56 #CFC856 #99CF56
triadic
#CFC856 #56CFC8 #C856CF
tetradic
#CFC856 #56CF8C #565DCF #CF5699
square
#CFC856 #56CF8C #565DCF #CF5699
split-complementary
#CFC856 #5699CF #8C56CF
monochromatic
#857F26 #B5AD33 #CFC856 #DDD886 #EAE7B5

Accessibility & contrast

On white

1.74
#CFC856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CFC856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC856
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC856#FFFFFF#000000##000000
##CFC8561.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C14A
Deuteranopia (green-blind)
#DBC65C
Tritanopia (blue-blind)
#DDBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc856;
/* rgb */ color: rgb(207, 200, 86);
/* oklch */ color: oklch(81.6% 0.135 105.7);
Tailwind
colors: {
  custom: {
    50: '#e0d88a',
    500: '#cfc856',
    950: '#000000',
  },
}
SCSS
$custom: #cfc856;
$custom-light: #e0d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc856",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 56.529,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81643,
    "c": 0.13539,
    "h": 105.7
  },
  "luminance": 0.55246
}

Semantic roles & 50–950 ramp

primary
#CFC856
secondary
#3D428C
accent
#51DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC856

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

Preview Lab → · Contrast checker → · Palette generator →

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