#CFC048#CFC048

#CFC048 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.139 H 102.2°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CFC048
RGBrgb(207, 192, 72)
HSLhsl(53, 58%, 55%)
HSVhsv(53, 65%, 81%)
CMYKcmyk(0%, 7.2%, 65.2%, 18.8%)
CIE-LABlab(76.94, -8.75, 60.15)
CIE-LCHlch(76.94, 60.79, 98.28°)
OKLaboklab(79.82% -0.0293 0.136)
OKLCHoklch(79.82% 0.139 102.2)
XYZxyz(45.7533, 51.4344, 13.6474)
Luminance0.5143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC048 #4857CF
analogous
#CF7C48 #CFC048 #9BCF48
triadic
#CFC048 #48CFC0 #C048CF
tetradic
#CFC048 #48CF7C #4857CF #CF489B
square
#CFC048 #48CF7C #4857CF #CF489B
split-complementary
#CFC048 #489BCF #7C48CF
monochromatic
#7C7221 #AD9E2D #CFC048 #DCD178 #E8E1A9

Accessibility & contrast

On white

1.86
#CFC048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#CFC048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC048
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC048#FFFFFF#000000##000000
##CFC0481.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA39
Deuteranopia (green-blind)
#D5C14F
Tritanopia (blue-blind)
#DEB3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc048;
/* rgb */ color: rgb(207, 192, 72);
/* oklch */ color: oklch(79.8% 0.139 102.2);
Tailwind
colors: {
  custom: {
    50: '#e1d281',
    500: '#cfc048',
    950: '#000000',
  },
}
SCSS
$custom: #cfc048;
$custom-light: #e1d281;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc048",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 53.333,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79822,
    "c": 0.13909,
    "h": 102.2
  },
  "luminance": 0.51433
}

Semantic roles & 50–950 ramp

primary
#CFC048
secondary
#374084
accent
#57E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC048

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

Preview Lab → · Contrast checker → · Palette generator →

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