#CFC147#CFC147

#CFC147 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.141 H 102.7°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CFC147
RGBrgb(207, 193, 71)
HSLhsl(54, 59%, 55%)
HSVhsv(54, 66%, 81%)
CMYKcmyk(0%, 6.8%, 65.7%, 18.8%)
CIE-LABlab(77.20, -9.32, 60.83)
CIE-LCHlch(77.20, 61.54, 98.71°)
OKLaboklab(80.02% -0.031 0.1373)
OKLCHoklch(80.02% 0.141 102.7)
XYZxyz(45.9413, 51.8621, 13.5505)
Luminance0.5186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC147 #4755CF
analogous
#CF7D47 #CFC147 #99CF47
triadic
#CFC147 #47CFC1 #C147CF
tetradic
#CFC147 #47CF7D #4755CF #CF4799
square
#CFC147 #47CF7D #4755CF #CF4799
split-complementary
#CFC147 #4799CF #7D47CF
monochromatic
#7B7220 #AC9F2D #CFC147 #DCD178 #E8E2A8

Accessibility & contrast

On white

1.85
#CFC147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CFC147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC147
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC147#FFFFFF#000000##000000
##CFC1471.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB37
Deuteranopia (green-blind)
#D6C24E
Tritanopia (blue-blind)
#DEB4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc147;
/* rgb */ color: rgb(207, 193, 71);
/* oklch */ color: oklch(80.0% 0.141 102.7);
Tailwind
colors: {
  custom: {
    50: '#e1d380',
    500: '#cfc147',
    950: '#000000',
  },
}
SCSS
$custom: #cfc147;
$custom-light: #e1d380;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc147",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 71
  },
  "hsl": {
    "h": 53.824,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80024,
    "c": 0.14071,
    "h": 102.7
  },
  "luminance": 0.5186
}

Semantic roles & 50–950 ramp

primary
#CFC147
secondary
#373F83
accent
#56E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC147

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

Preview Lab → · Contrast checker → · Palette generator →

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