#CFCF48#CFCF48

#CFCF48 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.0% C 0.153 H 109.3°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CFCF48
RGBrgb(207, 207, 72)
HSLhsl(60, 58%, 55%)
HSVhsv(60, 65%, 81%)
CMYKcmyk(0%, 0%, 65.2%, 18.8%)
CIE-LABlab(80.94, -16.33, 64.30)
CIE-LCHlch(80.94, 66.34, 104.25°)
OKLaboklab(83.01% -0.0507 0.1447)
OKLCHoklch(83.01% 0.153 109.3)
XYZxyz(49.2163, 58.3603, 14.8017)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF48 #4848CF
analogous
#CF8C48 #CFCF48 #8CCF48
triadic
#CFCF48 #48CFCF #CF48CF
tetradic
#CFCF48 #48CF8C #4848CF #CF488C
square
#CFCF48 #48CF8C #4848CF #CF488C
split-complementary
#CFCF48 #488CCF #8C48CF
monochromatic
#7C7C21 #ADAD2D #CFCF48 #DCDC78 #E8E8A9

Accessibility & contrast

On white

1.66
#CFCF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CFCF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF48
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF48#FFFFFF#000000##000000
##CFCF481.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC735
Deuteranopia (green-blind)
#E1CB51
Tritanopia (blue-blind)
#DDC2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf48;
/* rgb */ color: rgb(207, 207, 72);
/* oklch */ color: oklch(83.0% 0.153 109.3);
Tailwind
colors: {
  custom: {
    50: '#e1dd82',
    500: '#cfcf48',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf48;
$custom-light: #e1dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf48",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83005,
    "c": 0.15336,
    "h": 109.3
  },
  "luminance": 0.58359
}

Semantic roles & 50–950 ramp

primary
#CFCF48
secondary
#373784
accent
#46E246
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCF48

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

Preview Lab → · Contrast checker → · Palette generator →

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