#CFC861#CFC861

#CFC861 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.126 H 105.3°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CFC861
RGBrgb(207, 200, 97)
HSLhsl(56, 53%, 60%)
HSVhsv(56, 53%, 81%)
CMYKcmyk(0%, 3.4%, 53.1%, 18.8%)
CIE-LABlab(79.29, -11.07, 51.66)
CIE-LCHlch(79.29, 52.83, 102.10°)
OKLaboklab(81.77% -0.0331 0.1211)
OKLCHoklch(81.77% 0.126 105.3)
XYZxyz(48.5455, 55.4385, 19.4504)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC861 #6168CF
analogous
#CF9161 #CFC861 #9FCF61
triadic
#CFC861 #61CFC8 #C861CF
tetradic
#CFC861 #61CF91 #6168CF #CF619F
square
#CFC861 #61CF91 #6168CF #CF619F
split-complementary
#CFC861 #619FCF #9161CF
monochromatic
#8B852A #BAB239 #CFC861 #DDD890 #ECE9BF

Accessibility & contrast

On white

1.74
#CFC861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CFC861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC861
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC861#FFFFFF#000000##000000
##CFC8611.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C257
Deuteranopia (green-blind)
#DAC766
Tritanopia (blue-blind)
#DCBDB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc861;
/* rgb */ color: rgb(207, 200, 97);
/* oklch */ color: oklch(81.8% 0.126 105.3);
Tailwind
colors: {
  custom: {
    50: '#e0d891',
    500: '#cfc861',
    950: '#000000',
  },
}
SCSS
$custom: #cfc861;
$custom-light: #e0d891;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc861",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 97
  },
  "hsl": {
    "h": 56.182,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81766,
    "c": 0.12551,
    "h": 105.3
  },
  "luminance": 0.55437
}

Semantic roles & 50–950 ramp

primary
#CFC861
secondary
#424792
accent
#54DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC861

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

Preview Lab → · Contrast checker → · Palette generator →

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