#CFC465#CFC465

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

Color values

HEX#CFC465
RGBrgb(207, 196, 101)
HSLhsl(54, 52%, 60%)
HSVhsv(54, 51%, 81%)
CMYKcmyk(0%, 5.3%, 51.2%, 18.8%)
CIE-LABlab(78.28, -8.69, 48.57)
CIE-LCHlch(78.28, 49.34, 100.15°)
OKLaboklab(80.97% -0.0259 0.1147)
OKLCHoklch(80.97% 0.118 102.7)
XYZxyz(47.8224, 53.6864, 20.1528)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC465 #6570CF
analogous
#CF8F65 #CFC465 #A5CF65
triadic
#CFC465 #65CFC4 #C465CF
tetradic
#CFC465 #65CF8F #6570CF #CF65A5
square
#CFC465 #65CF8F #6570CF #CF65A5
split-complementary
#CFC465 #65A5CF #8F65CF
monochromatic
#8D832C #BCAF3B #CFC465 #DED694 #ECE8C2

Accessibility & contrast

On white

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

On black

11.74
#CFC465 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC465
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC465#FFFFFF#000000##000000
##CFC4651.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc465;
/* rgb */ color: rgb(207, 196, 101);
/* oklch */ color: oklch(81.0% 0.118 102.7);
Tailwind
colors: {
  custom: {
    50: '#e0d593',
    500: '#cfc465',
    950: '#000000',
  },
}
SCSS
$custom: #cfc465;
$custom-light: #e0d593;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc465",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 101
  },
  "hsl": {
    "h": 53.774,
    "s": 52.475,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80974,
    "c": 0.11762,
    "h": 102.7
  },
  "luminance": 0.53685
}

Semantic roles & 50–950 ramp

primary
#CFC465
secondary
#444D94
accent
#36C026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC465

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

Preview Lab → · Contrast checker → · Palette generator →

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