#CFCF4A#CFCF4A

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

Color values

HEX#CFCF4A
RGBrgb(207, 207, 74)
HSLhsl(60, 58%, 55%)
HSVhsv(60, 64%, 81%)
CMYKcmyk(0%, 0%, 64.3%, 18.8%)
CIE-LABlab(80.95, -16.22, 63.52)
CIE-LCHlch(80.95, 65.56, 104.32°)
OKLaboklab(83.02% -0.0502 0.1434)
OKLCHoklch(83.02% 0.152 109.3)
XYZxyz(49.2826, 58.3869, 15.1510)
Luminance0.5838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF4A #4A4ACF
analogous
#CF8C4A #CFCF4A #8CCF4A
triadic
#CFCF4A #4ACFCF #CF4ACF
tetradic
#CFCF4A #4ACF8C #4A4ACF #CF4A8C
square
#CFCF4A #4ACF8C #4A4ACF #CF4A8C
split-complementary
#CFCF4A #4A8CCF #8C4ACF
monochromatic
#7D7D21 #AEAE2E #CFCF4A #DCDC7A #E9E9AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF4A#FFFFFF#000000##000000
##CFCF4A1.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)
#DFC738
Deuteranopia (green-blind)
#E1CB53
Tritanopia (blue-blind)
#DDC2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf4a;
/* rgb */ color: rgb(207, 207, 74);
/* oklch */ color: oklch(83.0% 0.152 109.3);
Tailwind
colors: {
  custom: {
    50: '#e1dd83',
    500: '#cfcf4a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf4a;
$custom-light: #e1dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf4a",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 60,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83022,
    "c": 0.15193,
    "h": 109.3
  },
  "luminance": 0.58385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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