#CFC056#CFC056

#CFC056 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.0% C 0.128 H 101.3°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CFC056
RGBrgb(207, 192, 86)
HSLhsl(53, 56%, 57%)
HSVhsv(53, 58%, 81%)
CMYKcmyk(0%, 7.2%, 58.5%, 18.8%)
CIE-LABlab(77.06, -7.83, 54.19)
CIE-LCHlch(77.06, 54.75, 98.22°)
OKLaboklab(79.96% -0.0251 0.1253)
OKLCHoklch(79.96% 0.128 101.3)
XYZxyz(46.2632, 51.6384, 16.3326)
Luminance0.5164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC056 #5665CF
analogous
#CF8456 #CFC056 #A1CF56
triadic
#CFC056 #56CFC0 #C056CF
tetradic
#CFC056 #56CF84 #5665CF #CF56A1
square
#CFC056 #56CF84 #5665CF #CF56A1
split-complementary
#CFC056 #56A1CF #8456CF
monochromatic
#857926 #B5A533 #CFC056 #DDD286 #EAE4B5

Accessibility & contrast

On white

1.85
#CFC056 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#CFC056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC056
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC056#FFFFFF#000000##000000
##CFC0561.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4B
Deuteranopia (green-blind)
#D4C15B
Tritanopia (blue-blind)
#DDB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc056;
/* rgb */ color: rgb(207, 192, 86);
/* oklch */ color: oklch(80.0% 0.128 101.3);
Tailwind
colors: {
  custom: {
    50: '#e0d289',
    500: '#cfc056',
    950: '#000000',
  },
}
SCSS
$custom: #cfc056;
$custom-light: #e0d289;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc056",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 86
  },
  "hsl": {
    "h": 52.562,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79959,
    "c": 0.12775,
    "h": 101.3
  },
  "luminance": 0.51637
}

Semantic roles & 50–950 ramp

primary
#CFC056
secondary
#3D478C
accent
#5BDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC056

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

Preview Lab → · Contrast checker → · Palette generator →

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