#CFCC47#CFCC47

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

Color values

HEX#CFCC47
RGBrgb(207, 204, 71)
HSLhsl(59, 59%, 55%)
HSVhsv(59, 66%, 81%)
CMYKcmyk(0%, 1.4%, 65.7%, 18.8%)
CIE-LABlab(80.13, -14.89, 63.86)
CIE-LCHlch(80.13, 65.57, 103.13°)
OKLaboklab(82.36% -0.0468 0.1436)
OKLCHoklch(82.36% 0.151 108)
XYZxyz(48.4640, 56.9076, 14.3914)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC47 #474ACF
analogous
#CF8847 #CFCC47 #8ECF47
triadic
#CFCC47 #47CFCC #CC47CF
tetradic
#CFCC47 #47CF88 #474ACF #CF478E
square
#CFCC47 #47CF88 #474ACF #CF478E
split-complementary
#CFCC47 #478ECF #8847CF
monochromatic
#7B7920 #ACA92D #CFCC47 #DCD978 #E8E7A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCC47#FFFFFF#000000##000000
##CFCC471.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)
#DCC434
Deuteranopia (green-blind)
#DFC950
Tritanopia (blue-blind)
#DDBFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc47;
/* rgb */ color: rgb(207, 204, 71);
/* oklch */ color: oklch(82.4% 0.151 108.0);
Tailwind
colors: {
  custom: {
    50: '#e1db81',
    500: '#cfcc47',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc47;
$custom-light: #e1db81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc47",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 58.676,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82356,
    "c": 0.15107,
    "h": 108
  },
  "luminance": 0.56906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCC47

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

Preview Lab → · Contrast checker → · Palette generator →

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