#CFCC46#CFCC46

#CFCC46 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.3% C 0.152 H 108.1°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CFCC46
RGBrgb(207, 204, 70)
HSLhsl(59, 59%, 54%)
HSVhsv(59, 66%, 81%)
CMYKcmyk(0%, 1.4%, 66.2%, 18.8%)
CIE-LABlab(80.12, -14.95, 64.24)
CIE-LCHlch(80.12, 65.96, 103.10°)
OKLaboklab(82.35% -0.047 0.1443)
OKLCHoklch(82.35% 0.152 108.1)
XYZxyz(48.4322, 56.8948, 14.2237)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC46 #4649CF
analogous
#CF8846 #CFCC46 #8ECF46
triadic
#CFCC46 #46CFCC #CC46CF
tetradic
#CFCC46 #46CF88 #4649CF #CF468E
square
#CFCC46 #46CF88 #4649CF #CF468E
split-complementary
#CFCC46 #468ECF #8846CF
monochromatic
#7B7920 #ABA92C #CFCC46 #DCD977 #E8E7A7

Accessibility & contrast

On white

1.70
#CFCC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CFCC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC46
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC46#FFFFFF#000000##000000
##CFCC461.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC433
Deuteranopia (green-blind)
#DFC94F
Tritanopia (blue-blind)
#DDBFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc46;
/* rgb */ color: rgb(207, 204, 70);
/* oklch */ color: oklch(82.3% 0.152 108.1);
Tailwind
colors: {
  custom: {
    50: '#e1db81',
    500: '#cfcc46',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc46;
$custom-light: #e1db81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc46",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 58.686,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82348,
    "c": 0.15177,
    "h": 108.1
  },
  "luminance": 0.56893
}

Semantic roles & 50–950 ramp

primary
#CFCC46
secondary
#363883
accent
#49E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCC46

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

Preview Lab → · Contrast checker → · Palette generator →

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