#CFC349#CFC349

#CFC349 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.5% C 0.141 H 103.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CFC349
RGBrgb(207, 195, 73)
HSLhsl(55, 58%, 55%)
HSVhsv(55, 65%, 81%)
CMYKcmyk(0%, 5.8%, 64.7%, 18.8%)
CIE-LABlab(77.74, -10.22, 60.58)
CIE-LCHlch(77.74, 61.44, 99.58°)
OKLaboklab(80.46% -0.0334 0.137)
OKLCHoklch(80.46% 0.141 103.7)
XYZxyz(46.4516, 52.7784, 14.0424)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC349 #4955CF
analogous
#CF8049 #CFC349 #98CF49
triadic
#CFC349 #49CFC3 #C349CF
tetradic
#CFC349 #49CF80 #4955CF #CF4998
square
#CFC349 #49CF80 #4955CF #CF4998
split-complementary
#CFC349 #4998CF #8049CF
monochromatic
#7D7421 #ADA22E #CFC349 #DCD379 #E9E3AA

Accessibility & contrast

On white

1.82
#CFC349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#CFC349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC349
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC349#FFFFFF#000000##000000
##CFC3491.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD39
Deuteranopia (green-blind)
#D8C350
Tritanopia (blue-blind)
#DEB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc349;
/* rgb */ color: rgb(207, 195, 73);
/* oklch */ color: oklch(80.5% 0.141 103.7);
Tailwind
colors: {
  custom: {
    50: '#e1d482',
    500: '#cfc349',
    950: '#000000',
  },
}
SCSS
$custom: #cfc349;
$custom-light: #e1d482;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc349",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 73
  },
  "hsl": {
    "h": 54.627,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80463,
    "c": 0.14104,
    "h": 103.7
  },
  "luminance": 0.52777
}

Semantic roles & 50–950 ramp

primary
#CFC349
secondary
#383F84
accent
#54E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC349

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

Preview Lab → · Contrast checker → · Palette generator →

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