#CFCF4E#CFCF4E

#CFCF4E is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.1% C 0.149 H 109.2°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#CFCF4E
RGBrgb(207, 207, 78)
HSLhsl(60, 57%, 56%)
HSVhsv(60, 62%, 81%)
CMYKcmyk(0%, 0%, 62.3%, 18.8%)
CIE-LABlab(80.98, -15.97, 61.93)
CIE-LCHlch(80.98, 63.96, 104.46°)
OKLaboklab(83.06% -0.0491 0.1406)
OKLCHoklch(83.06% 0.149 109.2)
XYZxyz(49.4216, 58.4425, 15.8834)
Luminance0.5844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF4E #4E4ECF
analogous
#CF8E4E #CFCF4E #8ECF4E
triadic
#CFCF4E #4ECFCF #CF4ECF
tetradic
#CFCF4E #4ECF8E #4E4ECF #CF4E8E
square
#CFCF4E #4ECF8E #4E4ECF #CF4E8E
split-complementary
#CFCF4E #4E8ECF #8E4ECF
monochromatic
#808023 #B0B030 #CFCF4E #DCDC7E #E9E9AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCF4E#FFFFFF#000000##000000
##CFCF4E1.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)
#DFC73E
Deuteranopia (green-blind)
#E0CB56
Tritanopia (blue-blind)
#DDC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf4e;
/* rgb */ color: rgb(207, 207, 78);
/* oklch */ color: oklch(83.1% 0.149 109.2);
Tailwind
colors: {
  custom: {
    50: '#e1dd85',
    500: '#cfcf4e',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf4e;
$custom-light: #e1dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf4e",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 60,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83056,
    "c": 0.14896,
    "h": 109.2
  },
  "luminance": 0.58441
}

Semantic roles & 50–950 ramp

primary
#CFCF4E
secondary
#3A3A87
accent
#47E147
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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