#CFC161#CFC161

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

Color values

HEX#CFC161
RGBrgb(207, 193, 97)
HSLhsl(52, 53%, 60%)
HSVhsv(52, 53%, 81%)
CMYKcmyk(0%, 6.8%, 53.1%, 18.8%)
CIE-LABlab(77.44, -7.49, 49.50)
CIE-LCHlch(77.44, 50.06, 98.60°)
OKLaboklab(80.3% -0.0229 0.1164)
OKLCHoklch(80.3% 0.119 101.1)
XYZxyz(46.9613, 52.2701, 18.9224)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC161 #616FCF
analogous
#CF8A61 #CFC161 #A6CF61
triadic
#CFC161 #61CFC1 #C161CF
tetradic
#CFC161 #61CF8A #616FCF #CF61A6
square
#CFC161 #61CF8A #616FCF #CF61A6
split-complementary
#CFC161 #61A6CF #8A61CF
monochromatic
#8B7F2A #BAAA39 #CFC161 #DDD390 #ECE6BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC161#FFFFFF#000000##000000
##CFC1611.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)
#D0BC58
Deuteranopia (green-blind)
#D4C265
Tritanopia (blue-blind)
#DDB6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc161;
/* rgb */ color: rgb(207, 193, 97);
/* oklch */ color: oklch(80.3% 0.119 101.1);
Tailwind
colors: {
  custom: {
    50: '#e0d390',
    500: '#cfc161',
    950: '#000000',
  },
}
SCSS
$custom: #cfc161;
$custom-light: #e0d390;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc161",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 97
  },
  "hsl": {
    "h": 52.364,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80296,
    "c": 0.1186,
    "h": 101.1
  },
  "luminance": 0.52268
}

Semantic roles & 50–950 ramp

primary
#CFC161
secondary
#424D92
accent
#5EDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC161

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

Preview Lab → · Contrast checker → · Palette generator →

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