#CFCA48#CFCA48

#CFCA48 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.148 H 107.1°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#CFCA48
RGBrgb(207, 202, 72)
HSLhsl(58, 58%, 55%)
HSVhsv(58, 65%, 81%)
CMYKcmyk(0%, 2.4%, 65.2%, 18.8%)
CIE-LABlab(79.60, -13.83, 62.92)
CIE-LCHlch(79.60, 64.42, 102.40°)
OKLaboklab(81.94% -0.0437 0.1418)
OKLCHoklch(81.94% 0.148 107.1)
XYZxyz(48.0241, 55.9759, 14.4043)
Luminance0.5597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA48 #484DCF
analogous
#CF8748 #CFCA48 #90CF48
triadic
#CFCA48 #48CFCA #CA48CF
tetradic
#CFCA48 #48CF87 #484DCF #CF4890
square
#CFCA48 #48CF87 #484DCF #CF4890
split-complementary
#CFCA48 #4890CF #8748CF
monochromatic
#7C7921 #ADA82D #CFCA48 #DCD878 #E8E6A9

Accessibility & contrast

On white

1.72
#CFCA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#CFCA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA48
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA48#FFFFFF#000000##000000
##CFCA481.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC236
Deuteranopia (green-blind)
#DDC850
Tritanopia (blue-blind)
#DDBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca48;
/* rgb */ color: rgb(207, 202, 72);
/* oklch */ color: oklch(81.9% 0.148 107.1);
Tailwind
colors: {
  custom: {
    50: '#e1d982',
    500: '#cfca48',
    950: '#000000',
  },
}
SCSS
$custom: #cfca48;
$custom-light: #e1d982;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca48",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 57.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81938,
    "c": 0.1484,
    "h": 107.1
  },
  "luminance": 0.55974
}

Semantic roles & 50–950 ramp

primary
#CFCA48
secondary
#373A84
accent
#4CE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCA48

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

Preview Lab → · Contrast checker → · Palette generator →

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