#CFC748#CFC748

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

Color values

HEX#CFC748
RGBrgb(207, 199, 72)
HSLhsl(56, 58%, 55%)
HSVhsv(56, 65%, 81%)
CMYKcmyk(0%, 3.9%, 65.2%, 18.8%)
CIE-LABlab(78.80, -12.32, 62.09)
CIE-LCHlch(78.80, 63.30, 101.22°)
OKLaboklab(81.3% -0.0394 0.1401)
OKLCHoklch(81.3% 0.146 105.7)
XYZxyz(47.3270, 54.5818, 14.1720)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC748 #4850CF
analogous
#CF8348 #CFC748 #94CF48
triadic
#CFC748 #48CFC7 #C748CF
tetradic
#CFC748 #48CF83 #4850CF #CF4894
square
#CFC748 #48CF83 #4850CF #CF4894
split-complementary
#CFC748 #4894CF #8348CF
monochromatic
#7C7721 #ADA52D #CFC748 #DCD678 #E8E5A9

Accessibility & contrast

On white

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

On black

11.92
#CFC748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC748
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC748#FFFFFF#000000##000000
##CFC7481.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C037
Deuteranopia (green-blind)
#DBC650
Tritanopia (blue-blind)
#DEBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc748;
/* rgb */ color: rgb(207, 199, 72);
/* oklch */ color: oklch(81.3% 0.146 105.7);
Tailwind
colors: {
  custom: {
    50: '#e1d781',
    500: '#cfc748',
    950: '#000000',
  },
}
SCSS
$custom: #cfc748;
$custom-light: #e1d781;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc748",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 56.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.813,
    "c": 0.14551,
    "h": 105.7
  },
  "luminance": 0.5458
}

Semantic roles & 50–950 ramp

primary
#CFC748
secondary
#373C84
accent
#4FE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC748

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

Preview Lab → · Contrast checker → · Palette generator →

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