#CFC247#CFC247

#CFC247 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.142 H 103.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CFC247
RGBrgb(207, 194, 71)
HSLhsl(54, 59%, 55%)
HSVhsv(54, 66%, 81%)
CMYKcmyk(0%, 6.3%, 65.7%, 18.8%)
CIE-LABlab(77.46, -9.83, 61.11)
CIE-LCHlch(77.46, 61.90, 99.14°)
OKLaboklab(80.24% -0.0325 0.1378)
OKLCHoklch(80.24% 0.142 103.3)
XYZxyz(46.1631, 52.3057, 13.6244)
Luminance0.5230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC247 #4754CF
analogous
#CF7E47 #CFC247 #98CF47
triadic
#CFC247 #47CFC2 #C247CF
tetradic
#CFC247 #47CF7E #4754CF #CF4798
square
#CFC247 #47CF7E #4754CF #CF4798
split-complementary
#CFC247 #4798CF #7E47CF
monochromatic
#7B7320 #ACA02D #CFC247 #DCD278 #E8E2A8

Accessibility & contrast

On white

1.83
#CFC247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CFC247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC247
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC247#FFFFFF#000000##000000
##CFC2471.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC37
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#DEB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc247;
/* rgb */ color: rgb(207, 194, 71);
/* oklch */ color: oklch(80.2% 0.142 103.3);
Tailwind
colors: {
  custom: {
    50: '#e1d480',
    500: '#cfc247',
    950: '#000000',
  },
}
SCSS
$custom: #cfc247;
$custom-light: #e1d480;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc247",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 71
  },
  "hsl": {
    "h": 54.265,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80235,
    "c": 0.14162,
    "h": 103.3
  },
  "luminance": 0.52304
}

Semantic roles & 50–950 ramp

primary
#CFC247
secondary
#373E83
accent
#55E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC247

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

Preview Lab → · Contrast checker → · Palette generator →

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