#CFCF4D#CFCF4D

#CFCF4D 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.69:1 contrast (WCAG AA passes).

Color values

HEX#CFCF4D
RGBrgb(207, 207, 77)
HSLhsl(60, 58%, 56%)
HSVhsv(60, 63%, 81%)
CMYKcmyk(0%, 0%, 62.8%, 18.8%)
CIE-LABlab(80.98, -16.03, 62.33)
CIE-LCHlch(80.98, 64.36, 104.42°)
OKLaboklab(83.05% -0.0494 0.1413)
OKLCHoklch(83.05% 0.15 109.3)
XYZxyz(49.3861, 58.4282, 15.6960)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF4D #4D4DCF
analogous
#CF8E4D #CFCF4D #8ECF4D
triadic
#CFCF4D #4DCFCF #CF4DCF
tetradic
#CFCF4D #4DCF8E #4D4DCF #CF4D8E
square
#CFCF4D #4DCF8E #4D4DCF #CF4D8E
split-complementary
#CFCF4D #4D8ECF #8E4DCF
monochromatic
#7F7F22 #AFAF2F #CFCF4D #DCDC7D #E9E9AD

Accessibility & contrast

On white

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

On black

12.69
#CFCF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF4D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF4D#FFFFFF#000000##000000
##CFCF4D1.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73C
Deuteranopia (green-blind)
#E1CB55
Tritanopia (blue-blind)
#DDC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf4d;
/* rgb */ color: rgb(207, 207, 77);
/* oklch */ color: oklch(83.0% 0.150 109.3);
Tailwind
colors: {
  custom: {
    50: '#e1dd85',
    500: '#cfcf4d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf4d;
$custom-light: #e1dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf4d",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 60,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83048,
    "c": 0.14971,
    "h": 109.3
  },
  "luminance": 0.58427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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