#CFCD46#CFCD46

#CFCD46 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.153 H 108.5°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CFCD46
RGBrgb(207, 205, 70)
HSLhsl(59, 59%, 54%)
HSVhsv(59, 66%, 81%)
CMYKcmyk(0%, 1%, 66.2%, 18.8%)
CIE-LABlab(80.39, -15.45, 64.52)
CIE-LCHlch(80.39, 66.34, 103.47°)
OKLaboklab(82.56% -0.0485 0.1449)
OKLCHoklch(82.56% 0.153 108.5)
XYZxyz(48.6706, 57.3717, 14.3032)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD46 #4648CF
analogous
#CF8946 #CFCD46 #8DCF46
triadic
#CFCD46 #46CFCD #CD46CF
tetradic
#CFCD46 #46CF89 #4648CF #CF468D
square
#CFCD46 #46CF89 #4648CF #CF468D
split-complementary
#CFCD46 #468DCF #8946CF
monochromatic
#7B7920 #ABA92C #CFCD46 #DCDA77 #E8E7A7

Accessibility & contrast

On white

1.68
#CFCD46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#CFCD46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD46
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD46#FFFFFF#000000##000000
##CFCD461.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC533
Deuteranopia (green-blind)
#DFCA4F
Tritanopia (blue-blind)
#DDC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcd46;
/* rgb */ color: rgb(207, 205, 70);
/* oklch */ color: oklch(82.6% 0.153 108.5);
Tailwind
colors: {
  custom: {
    50: '#e1dc81',
    500: '#cfcd46',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd46;
$custom-light: #e1dc81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd46",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 70
  },
  "hsl": {
    "h": 59.124,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82562,
    "c": 0.15276,
    "h": 108.5
  },
  "luminance": 0.5737
}

Semantic roles & 50–950 ramp

primary
#CFCD46
secondary
#363883
accent
#48E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCD46

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

Preview Lab → · Contrast checker → · Palette generator →

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