#CFC160#CFC160

#CFC160 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.120 H 101.2°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CFC160
RGBrgb(207, 193, 96)
HSLhsl(52, 54%, 59%)
HSVhsv(52, 54%, 81%)
CMYKcmyk(0%, 6.8%, 53.6%, 18.8%)
CIE-LABlab(77.43, -7.57, 49.96)
CIE-LCHlch(77.43, 50.53, 98.62°)
OKLaboklab(80.28% -0.0232 0.1173)
OKLCHoklch(80.28% 0.12 101.2)
XYZxyz(46.9149, 52.2516, 18.6784)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC160 #606ECF
analogous
#CF8960 #CFC160 #A6CF60
triadic
#CFC160 #60CFC1 #C160CF
tetradic
#CFC160 #60CF89 #606ECF #CF60A6
square
#CFC160 #60CF89 #606ECF #CF60A6
split-complementary
#CFC160 #60A6CF #8960CF
monochromatic
#8B7F2A #BAA938 #CFC160 #DDD38F #EBE6BE

Accessibility & contrast

On white

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

On black

11.45
#CFC160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC160
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC160#FFFFFF#000000##000000
##CFC1601.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC57
Deuteranopia (green-blind)
#D4C265
Tritanopia (blue-blind)
#DDB5AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc160;
/* rgb */ color: rgb(207, 193, 96);
/* oklch */ color: oklch(80.3% 0.120 101.2);
Tailwind
colors: {
  custom: {
    50: '#e0d390',
    500: '#cfc160',
    950: '#000000',
  },
}
SCSS
$custom: #cfc160;
$custom-light: #e0d390;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc160",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 96
  },
  "hsl": {
    "h": 52.432,
    "s": 53.623,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80284,
    "c": 0.11955,
    "h": 101.2
  },
  "luminance": 0.5225
}

Semantic roles & 50–950 ramp

primary
#CFC160
secondary
#424C91
accent
#5DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC160

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

Preview Lab → · Contrast checker → · Palette generator →

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