#CFC464#CFC464

#CFC464 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.119 H 102.8°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CFC464
RGBrgb(207, 196, 100)
HSLhsl(54, 53%, 60%)
HSVhsv(54, 52%, 81%)
CMYKcmyk(0%, 5.3%, 51.7%, 18.8%)
CIE-LABlab(78.27, -8.78, 49.04)
CIE-LCHlch(78.27, 49.82, 100.15°)
OKLaboklab(80.96% -0.0262 0.1157)
OKLCHoklch(80.96% 0.119 102.8)
XYZxyz(47.7737, 53.6669, 19.8963)
Luminance0.5366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC464 #646FCF
analogous
#CF8F64 #CFC464 #A4CF64
triadic
#CFC464 #64CFC4 #C464CF
tetradic
#CFC464 #64CF8F #646FCF #CF64A4
square
#CFC464 #64CF8F #646FCF #CF64A4
split-complementary
#CFC464 #64A4CF #8F64CF
monochromatic
#8D832C #BCAE3A #CFC464 #DDD693 #ECE8C1

Accessibility & contrast

On white

1.79
#CFC464 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CFC464 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC464
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC464#FFFFFF#000000##000000
##CFC4641.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5B
Deuteranopia (green-blind)
#D6C468
Tritanopia (blue-blind)
#DCB9AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc464;
/* rgb */ color: rgb(207, 196, 100);
/* oklch */ color: oklch(81.0% 0.119 102.8);
Tailwind
colors: {
  custom: {
    50: '#e0d592',
    500: '#cfc464',
    950: '#000000',
  },
}
SCSS
$custom: #cfc464;
$custom-light: #e0d592;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc464",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 100
  },
  "hsl": {
    "h": 53.832,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80961,
    "c": 0.1186,
    "h": 102.8
  },
  "luminance": 0.53665
}

Semantic roles & 50–950 ramp

primary
#CFC464
secondary
#444C93
accent
#35C025
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC464

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

Preview Lab → · Contrast checker → · Palette generator →

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