#CFC057#CFC057

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

Color values

HEX#CFC057
RGBrgb(207, 192, 87)
HSLhsl(53, 56%, 58%)
HSVhsv(53, 58%, 81%)
CMYKcmyk(0%, 7.2%, 58%, 18.8%)
CIE-LABlab(77.07, -7.75, 53.74)
CIE-LCHlch(77.07, 54.30, 98.21°)
OKLaboklab(79.97% -0.0247 0.1244)
OKLCHoklch(79.97% 0.127 101.2)
XYZxyz(46.3037, 51.6546, 16.5463)
Luminance0.5165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC057 #5766CF
analogous
#CF8457 #CFC057 #A2CF57
triadic
#CFC057 #57CFC0 #C057CF
tetradic
#CFC057 #57CF84 #5766CF #CF57A2
square
#CFC057 #57CF84 #5766CF #CF57A2
split-complementary
#CFC057 #57A2CF #8457CF
monochromatic
#857A26 #B5A534 #CFC057 #DDD287 #EAE4B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC057#FFFFFF#000000##000000
##CFC0571.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)
#D0BB4C
Deuteranopia (green-blind)
#D4C15C
Tritanopia (blue-blind)
#DDB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc057;
/* rgb */ color: rgb(207, 192, 87);
/* oklch */ color: oklch(80.0% 0.127 101.2);
Tailwind
colors: {
  custom: {
    50: '#e0d28a',
    500: '#cfc057',
    950: '#000000',
  },
}
SCSS
$custom: #cfc057;
$custom-light: #e0d28a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc057",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 52.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.7997,
    "c": 0.12687,
    "h": 101.2
  },
  "luminance": 0.51653
}

Semantic roles & 50–950 ramp

primary
#CFC057
secondary
#3E488C
accent
#5CDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC057

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

Preview Lab → · Contrast checker → · Palette generator →

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