#CFCF4C#CFCF4C

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

Color values

HEX#CFCF4C
RGBrgb(207, 207, 76)
HSLhsl(60, 58%, 55%)
HSVhsv(60, 63%, 81%)
CMYKcmyk(0%, 0%, 63.3%, 18.8%)
CIE-LABlab(80.97, -16.09, 62.73)
CIE-LCHlch(80.97, 64.76, 104.39°)
OKLaboklab(83.04% -0.0497 0.142)
OKLCHoklch(83.04% 0.15 109.3)
XYZxyz(49.3510, 58.4142, 15.5115)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF4C #4C4CCF
analogous
#CF8D4C #CFCF4C #8DCF4C
triadic
#CFCF4C #4CCFCF #CF4CCF
tetradic
#CFCF4C #4CCF8D #4C4CCF #CF4C8D
square
#CFCF4C #4CCF8D #4C4CCF #CF4C8D
split-complementary
#CFCF4C #4C8DCF #8D4CCF
monochromatic
#7F7F22 #AFAF2F #CFCF4C #DCDC7C #E9E9AD

Accessibility & contrast

On white

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

On black

12.68
#CFCF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF4C
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF4C#FFFFFF#000000##000000
##CFCF4C1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcf4c;
/* rgb */ color: rgb(207, 207, 76);
/* oklch */ color: oklch(83.0% 0.150 109.3);
Tailwind
colors: {
  custom: {
    50: '#e1dd84',
    500: '#cfcf4c',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf4c;
$custom-light: #e1dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf4c",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83039,
    "c": 0.15046,
    "h": 109.3
  },
  "luminance": 0.58413
}

Semantic roles & 50–950 ramp

primary
#CFCF4C
secondary
#393986
accent
#47E147
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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