#CFC863#CFC863

#CFC863 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.124 H 105.2°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CFC863
RGBrgb(207, 200, 99)
HSLhsl(56, 53%, 60%)
HSVhsv(56, 52%, 81%)
CMYKcmyk(0%, 3.4%, 52.2%, 18.8%)
CIE-LABlab(79.31, -10.91, 50.75)
CIE-LCHlch(79.31, 51.90, 102.13°)
OKLaboklab(81.79% -0.0324 0.1193)
OKLCHoklch(81.79% 0.124 105.2)
XYZxyz(48.6399, 55.4763, 19.9478)
Luminance0.5547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC863 #636ACF
analogous
#CF9263 #CFC863 #A0CF63
triadic
#CFC863 #63CFC8 #C863CF
tetradic
#CFC863 #63CF92 #636ACF #CF63A0
square
#CFC863 #63CF92 #636ACF #CF63A0
split-complementary
#CFC863 #63A0CF #9263CF
monochromatic
#8C862B #BBB33A #CFC863 #DDD892 #ECE9C1

Accessibility & contrast

On white

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

On black

12.10
#CFC863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC863
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC863#FFFFFF#000000##000000
##CFC8631.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc863;
/* rgb */ color: rgb(207, 200, 99);
/* oklch */ color: oklch(81.8% 0.124 105.2);
Tailwind
colors: {
  custom: {
    50: '#e0d892',
    500: '#cfc863',
    950: '#000000',
  },
}
SCSS
$custom: #cfc863;
$custom-light: #e0d892;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc863",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 99
  },
  "hsl": {
    "h": 56.111,
    "s": 52.941,
    "l": 60
  },
  "oklch": {
    "l": 0.8179,
    "c": 0.12362,
    "h": 105.2
  },
  "luminance": 0.55475
}

Semantic roles & 50–950 ramp

primary
#CFC863
secondary
#434993
accent
#55DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC863

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

Preview Lab → · Contrast checker → · Palette generator →

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