#CFBC40#CFBC40

#CFBC40 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.9% C 0.141 H 100.4°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CFBC40
RGBrgb(207, 188, 64)
HSLhsl(52, 60%, 53%)
HSVhsv(52, 69%, 81%)
CMYKcmyk(0%, 9.2%, 69.1%, 18.8%)
CIE-LABlab(75.83, -7.14, 62.24)
CIE-LCHlch(75.83, 62.65, 96.54°)
OKLaboklab(78.92% -0.0256 0.1391)
OKLCHoklch(78.92% 0.141 100.4)
XYZxyz(44.6428, 49.6040, 12.0725)
Luminance0.4960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC40 #4053CF
analogous
#CF7440 #CFBC40 #9ACF40
triadic
#CFBC40 #40CFBC #BC40CF
tetradic
#CFBC40 #40CF74 #4053CF #CF409A
square
#CFBC40 #40CF74 #4053CF #CF409A
split-complementary
#CFBC40 #409ACF #7440CF
monochromatic
#776B1E #A8972A #CFBC40 #DBCD71 #E8DEA2

Accessibility & contrast

On white

1.92
#CFBC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CFBC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC40
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC40#FFFFFF#000000##000000
##CFBC401.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72E
Deuteranopia (green-blind)
#D3BE47
Tritanopia (blue-blind)
#DFAFA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbc40;
/* rgb */ color: rgb(207, 188, 64);
/* oklch */ color: oklch(78.9% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#e1cf7c',
    500: '#cfbc40',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc40;
$custom-light: #e1cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc40",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 52.028,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78917,
    "c": 0.14139,
    "h": 100.4
  },
  "luminance": 0.49602
}

Semantic roles & 50–950 ramp

primary
#CFBC40
secondary
#979FD4
accent
#5AE345
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFBC40

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

Preview Lab → · Contrast checker → · Palette generator →

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