#CFCF49#CFCF49

#CFCF49 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#CFCF49
RGBrgb(207, 207, 73)
HSLhsl(60, 58%, 55%)
HSVhsv(60, 65%, 81%)
CMYKcmyk(0%, 0%, 64.7%, 18.8%)
CIE-LABlab(80.95, -16.27, 63.91)
CIE-LCHlch(80.95, 65.95, 104.29°)
OKLaboklab(83.01% -0.0505 0.1441)
OKLCHoklch(83.01% 0.153 109.3)
XYZxyz(49.2492, 58.3735, 14.9750)
Luminance0.5837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF49 #4949CF
analogous
#CF8C49 #CFCF49 #8CCF49
triadic
#CFCF49 #49CFCF #CF49CF
tetradic
#CFCF49 #49CF8C #4949CF #CF498C
square
#CFCF49 #49CF8C #4949CF #CF498C
split-complementary
#CFCF49 #498CCF #8C49CF
monochromatic
#7D7D21 #ADAD2E #CFCF49 #DCDC79 #E9E9AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF49#FFFFFF#000000##000000
##CFCF491.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)
#DFC737
Deuteranopia (green-blind)
#E1CB52
Tritanopia (blue-blind)
#DDC2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf49;
/* rgb */ color: rgb(207, 207, 73);
/* oklch */ color: oklch(83.0% 0.153 109.3);
Tailwind
colors: {
  custom: {
    50: '#e1dd83',
    500: '#cfcf49',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf49;
$custom-light: #e1dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf49",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 73
  },
  "hsl": {
    "h": 60,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83014,
    "c": 0.15265,
    "h": 109.3
  },
  "luminance": 0.58372
}

Semantic roles & 50–950 ramp

primary
#CFCF49
secondary
#383884
accent
#46E146
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCF49

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

Preview Lab → · Contrast checker → · Palette generator →

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