#CFC064#CFC064

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

Color values

HEX#CFC064
RGBrgb(207, 192, 100)
HSLhsl(52, 53%, 60%)
HSVhsv(52, 52%, 81%)
CMYKcmyk(0%, 7.2%, 51.7%, 18.8%)
CIE-LABlab(77.21, -6.72, 47.79)
CIE-LCHlch(77.21, 48.26, 98.00°)
OKLaboklab(80.13% -0.0203 0.1129)
OKLCHoklch(80.13% 0.115 100.2)
XYZxyz(46.8835, 51.8865, 19.5996)
Luminance0.5189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC064 #6473CF
analogous
#CF8B64 #CFC064 #A8CF64
triadic
#CFC064 #64CFC0 #C064CF
tetradic
#CFC064 #64CF8B #6473CF #CF64A8
square
#CFC064 #64CF8B #6473CF #CF64A8
split-complementary
#CFC064 #64A8CF #8B64CF
monochromatic
#8D7F2C #BCAA3A #CFC064 #DDD393 #ECE6C1

Accessibility & contrast

On white

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

On black

11.38
#CFC064 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC064
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC064#FFFFFF#000000##000000
##CFC0641.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc064;
/* rgb */ color: rgb(207, 192, 100);
/* oklch */ color: oklch(80.1% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#e0d292',
    500: '#cfc064',
    950: '#000000',
  },
}
SCSS
$custom: #cfc064;
$custom-light: #e0d292;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc064",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 100
  },
  "hsl": {
    "h": 51.589,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80125,
    "c": 0.11475,
    "h": 100.2
  },
  "luminance": 0.51885
}

Semantic roles & 50–950 ramp

primary
#CFC064
secondary
#444F93
accent
#3BC025
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC064

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

Preview Lab → · Contrast checker → · Palette generator →

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