#CFC746#CFC746

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

Color values

HEX#CFC746
RGBrgb(207, 199, 70)
HSLhsl(56, 59%, 54%)
HSVhsv(56, 66%, 81%)
CMYKcmyk(0%, 3.9%, 66.2%, 18.8%)
CIE-LABlab(78.78, -12.43, 62.88)
CIE-LCHlch(78.78, 64.10, 101.18°)
OKLaboklab(81.28% -0.0399 0.1414)
OKLCHoklch(81.28% 0.147 105.8)
XYZxyz(47.2628, 54.5561, 13.8339)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC746 #464ECF
analogous
#CF8246 #CFC746 #93CF46
triadic
#CFC746 #46CFC7 #C746CF
tetradic
#CFC746 #46CF82 #464ECF #CF4693
square
#CFC746 #46CF82 #464ECF #CF4693
split-complementary
#CFC746 #4693CF #8246CF
monochromatic
#7B7520 #ABA42C #CFC746 #DCD677 #E8E4A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC746#FFFFFF#000000##000000
##CFC7461.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)
#D8C034
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#DEBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc746;
/* rgb */ color: rgb(207, 199, 70);
/* oklch */ color: oklch(81.3% 0.147 105.8);
Tailwind
colors: {
  custom: {
    50: '#e1d780',
    500: '#cfc746',
    950: '#000000',
  },
}
SCSS
$custom: #cfc746;
$custom-light: #e1d780;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc746",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 70
  },
  "hsl": {
    "h": 56.496,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81284,
    "c": 0.14694,
    "h": 105.8
  },
  "luminance": 0.54554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC746

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

Preview Lab → · Contrast checker → · Palette generator →

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