#CFC440#CFC440

#CFC440 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.148 H 104.5°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CFC440
RGBrgb(207, 196, 64)
HSLhsl(55, 60%, 53%)
HSVhsv(55, 69%, 81%)
CMYKcmyk(0%, 5.3%, 69.1%, 18.8%)
CIE-LABlab(77.94, -11.24, 64.36)
CIE-LCHlch(77.94, 65.33, 99.90°)
OKLaboklab(80.6% -0.0372 0.1436)
OKLCHoklch(80.6% 0.148 104.5)
XYZxyz(46.3993, 53.1172, 12.6581)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC440 #404BCF
analogous
#CF7D40 #CFC440 #92CF40
triadic
#CFC440 #40CFC4 #C440CF
tetradic
#CFC440 #40CF7D #404BCF #CF4092
square
#CFC440 #40CF7D #404BCF #CF4092
split-complementary
#CFC440 #4092CF #7D40CF
monochromatic
#77701E #A89E2A #CFC440 #DBD371 #E8E2A2

Accessibility & contrast

On white

1.81
#CFC440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CFC440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC440
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC440#FFFFFF#000000##000000
##CFC4401.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2C
Deuteranopia (green-blind)
#D9C349
Tritanopia (blue-blind)
#DEB7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc440;
/* rgb */ color: rgb(207, 196, 64);
/* oklch */ color: oklch(80.6% 0.148 104.5);
Tailwind
colors: {
  custom: {
    50: '#e1d57d',
    500: '#cfc440',
    950: '#000000',
  },
}
SCSS
$custom: #cfc440;
$custom-light: #e1d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc440",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 64
  },
  "hsl": {
    "h": 55.385,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80601,
    "c": 0.14829,
    "h": 104.5
  },
  "luminance": 0.53115
}

Semantic roles & 50–950 ramp

primary
#CFC440
secondary
#343A7F
accent
#51E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC440

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

Preview Lab → · Contrast checker → · Palette generator →

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