#CFC16C#CFC16C

#CFC16C is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.108 H 100.1°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CFC16C
RGBrgb(207, 193, 108)
HSLhsl(52, 51%, 62%)
HSVhsv(52, 48%, 81%)
CMYKcmyk(0%, 6.8%, 47.8%, 18.8%)
CIE-LABlab(77.57, -6.52, 44.31)
CIE-LCHlch(77.57, 44.78, 98.37°)
OKLaboklab(80.44% -0.0189 0.1059)
OKLCHoklch(80.44% 0.108 100.1)
XYZxyz(47.5102, 52.4897, 21.8133)
Luminance0.5249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC16C #6C7ACF
analogous
#CF906C #CFC16C #ACCF6C
triadic
#CFC16C #6CCFC1 #C16CCF
tetradic
#CFC16C #6CCF90 #6C7ACF #CF6CAC
square
#CFC16C #6CCF90 #6C7ACF #CF6CAC
split-complementary
#CFC16C #6CACCF #906CCF
monochromatic
#91832F #BFAD3E #CFC16C #DED49A #EDE8C8

Accessibility & contrast

On white

1.83
#CFC16C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CFC16C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC16C
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC16C#FFFFFF#000000##000000
##CFC16C1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC65
Deuteranopia (green-blind)
#D3C270
Tritanopia (blue-blind)
#DCB6AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc16c;
/* rgb */ color: rgb(207, 193, 108);
/* oklch */ color: oklch(80.4% 0.108 100.1);
Tailwind
colors: {
  custom: {
    50: '#dfd398',
    500: '#cfc16c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc16c;
$custom-light: #dfd398;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc16c",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 108
  },
  "hsl": {
    "h": 51.515,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80442,
    "c": 0.10761,
    "h": 100.1
  },
  "luminance": 0.52488
}

Semantic roles & 50–950 ramp

primary
#CFC16C
secondary
#485397
accent
#3DBE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC16C

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

Preview Lab → · Contrast checker → · Palette generator →

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