#CFC063#CFC063

#CFC063 is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.116 H 100.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CFC063
RGBrgb(207, 192, 99)
HSLhsl(52, 53%, 60%)
HSVhsv(52, 52%, 81%)
CMYKcmyk(0%, 7.2%, 52.2%, 18.8%)
CIE-LABlab(77.20, -6.80, 48.26)
CIE-LCHlch(77.20, 48.73, 98.03°)
OKLaboklab(80.11% -0.0207 0.1139)
OKLCHoklch(80.11% 0.116 100.3)
XYZxyz(46.8354, 51.8672, 19.3463)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC063 #6372CF
analogous
#CF8A63 #CFC063 #A8CF63
triadic
#CFC063 #63CFC0 #C063CF
tetradic
#CFC063 #63CF8A #6372CF #CF63A8
square
#CFC063 #63CF8A #6372CF #CF63A8
split-complementary
#CFC063 #63A8CF #8A63CF
monochromatic
#8C7F2B #BBA93A #CFC063 #DDD392 #ECE6C1

Accessibility & contrast

On white

1.85
#CFC063 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CFC063 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC063
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC063#FFFFFF#000000##000000
##CFC0631.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc063;
/* rgb */ color: rgb(207, 192, 99);
/* oklch */ color: oklch(80.1% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#e0d292',
    500: '#cfc063',
    950: '#000000',
  },
}
SCSS
$custom: #cfc063;
$custom-light: #e0d292;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc063",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 99
  },
  "hsl": {
    "h": 51.667,
    "s": 52.941,
    "l": 60
  },
  "oklch": {
    "l": 0.80112,
    "c": 0.11572,
    "h": 100.3
  },
  "luminance": 0.51866
}

Semantic roles & 50–950 ramp

primary
#CFC063
secondary
#434E93
accent
#60DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC063

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

Preview Lab → · Contrast checker → · Palette generator →

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