#CFC546#CFC546

#CFC546 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.145 H 104.8°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CFC546
RGBrgb(207, 197, 70)
HSLhsl(56, 59%, 54%)
HSVhsv(56, 66%, 81%)
CMYKcmyk(0%, 4.8%, 66.2%, 18.8%)
CIE-LABlab(78.25, -11.42, 62.33)
CIE-LCHlch(78.25, 63.37, 100.38°)
OKLaboklab(80.86% -0.0371 0.1403)
OKLCHoklch(80.86% 0.145 104.8)
XYZxyz(46.8057, 53.6418, 13.6816)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC546 #4650CF
analogous
#CF8046 #CFC546 #95CF46
triadic
#CFC546 #46CFC5 #C546CF
tetradic
#CFC546 #46CF80 #4650CF #CF4695
square
#CFC546 #46CF80 #4650CF #CF4695
split-complementary
#CFC546 #4695CF #8046CF
monochromatic
#7B7420 #ABA22C #CFC546 #DCD477 #E8E3A7

Accessibility & contrast

On white

1.79
#CFC546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CFC546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC546
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC546#FFFFFF#000000##000000
##CFC5461.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE35
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#DEB8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc546;
/* rgb */ color: rgb(207, 197, 70);
/* oklch */ color: oklch(80.9% 0.145 104.8);
Tailwind
colors: {
  custom: {
    50: '#e1d680',
    500: '#cfc546',
    950: '#000000',
  },
}
SCSS
$custom: #cfc546;
$custom-light: #e1d680;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc546",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 70
  },
  "hsl": {
    "h": 55.62,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8086,
    "c": 0.14507,
    "h": 104.8
  },
  "luminance": 0.5364
}

Semantic roles & 50–950 ramp

primary
#CFC546
secondary
#363C83
accent
#51E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC546

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

Preview Lab → · Contrast checker → · Palette generator →

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