#CFCF4B#CFCF4B

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

Color values

HEX#CFCF4B
RGBrgb(207, 207, 75)
HSLhsl(60, 58%, 55%)
HSVhsv(60, 64%, 81%)
CMYKcmyk(0%, 0%, 63.8%, 18.8%)
CIE-LABlab(80.96, -16.16, 63.13)
CIE-LCHlch(80.96, 65.16, 104.35°)
OKLaboklab(83.03% -0.0499 0.1427)
OKLCHoklch(83.03% 0.151 109.3)
XYZxyz(49.3165, 58.4004, 15.3298)
Luminance0.5840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF4B #4B4BCF
analogous
#CF8D4B #CFCF4B #8DCF4B
triadic
#CFCF4B #4BCFCF #CF4BCF
tetradic
#CFCF4B #4BCF8D #4B4BCF #CF4B8D
square
#CFCF4B #4BCF8D #4B4BCF #CF4B8D
split-complementary
#CFCF4B #4B8DCF #8D4BCF
monochromatic
#7E7E22 #AEAE2E #CFCF4B #DCDC7B #E9E9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF4B#FFFFFF#000000##000000
##CFCF4B1.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)
#DFC739
Deuteranopia (green-blind)
#E1CB54
Tritanopia (blue-blind)
#DDC2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf4b;
/* rgb */ color: rgb(207, 207, 75);
/* oklch */ color: oklch(83.0% 0.151 109.3);
Tailwind
colors: {
  custom: {
    50: '#e1dd84',
    500: '#cfcf4b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf4b;
$custom-light: #e1dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf4b",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 75
  },
  "hsl": {
    "h": 60,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8303,
    "c": 0.15121,
    "h": 109.3
  },
  "luminance": 0.58399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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