#CFC747#CFC747

#CFC747 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.146 H 105.7°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CFC747
RGBrgb(207, 199, 71)
HSLhsl(56, 59%, 55%)
HSVhsv(56, 66%, 81%)
CMYKcmyk(0%, 3.9%, 65.7%, 18.8%)
CIE-LABlab(78.79, -12.38, 62.49)
CIE-LCHlch(78.79, 63.70, 101.20°)
OKLaboklab(81.29% -0.0397 0.1407)
OKLCHoklch(81.29% 0.146 105.7)
XYZxyz(47.2946, 54.5688, 14.0016)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC747 #474FCF
analogous
#CF8347 #CFC747 #93CF47
triadic
#CFC747 #47CFC7 #C747CF
tetradic
#CFC747 #47CF83 #474FCF #CF4793
square
#CFC747 #47CF83 #474FCF #CF4793
split-complementary
#CFC747 #4793CF #8347CF
monochromatic
#7B7620 #ACA42D #CFC747 #DCD678 #E8E5A8

Accessibility & contrast

On white

1.76
#CFC747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CFC747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC747
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC747#FFFFFF#000000##000000
##CFC7471.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C036
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#DEBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc747;
/* rgb */ color: rgb(207, 199, 71);
/* oklch */ color: oklch(81.3% 0.146 105.7);
Tailwind
colors: {
  custom: {
    50: '#e1d781',
    500: '#cfc747',
    950: '#000000',
  },
}
SCSS
$custom: #cfc747;
$custom-light: #e1d781;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc747",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 71
  },
  "hsl": {
    "h": 56.471,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81292,
    "c": 0.14623,
    "h": 105.7
  },
  "luminance": 0.54567
}

Semantic roles & 50–950 ramp

primary
#CFC747
secondary
#373B83
accent
#4FE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC747

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

Preview Lab → · Contrast checker → · Palette generator →

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