#CFCF74#CFCF74

#CFCF74 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.114 H 108.6°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#CFCF74
RGBrgb(207, 207, 116)
HSLhsl(60, 49%, 63%)
HSVhsv(60, 44%, 81%)
CMYKcmyk(0%, 0%, 44%, 18.8%)
CIE-LABlab(81.38, -12.90, 45.03)
CIE-LCHlch(81.38, 46.84, 105.98°)
OKLaboklab(83.49% -0.0365 0.1081)
OKLCHoklch(83.49% 0.114 108.6)
XYZxyz(51.1983, 59.1531, 25.2403)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF74 #7474CF
analogous
#CFA174 #CFCF74 #A1CF74
triadic
#CFCF74 #74CFCF #CF74CF
tetradic
#CFCF74 #74CFA1 #7474CF #CF74A1
square
#CFCF74 #74CFA1 #7474CF #CF74A1
split-complementary
#CFCF74 #74A1CF #A174CF
monochromatic
#959533 #BFBF47 #CFCF74 #DFDFA1 #EEEECF

Accessibility & contrast

On white

1.64
#CFCF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#CFCF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF74
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF74#FFFFFF#000000##000000
##CFCF741.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86C
Deuteranopia (green-blind)
#DDCC78
Tritanopia (blue-blind)
#DAC5B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcf74;
/* rgb */ color: rgb(207, 207, 116);
/* oklch */ color: oklch(83.5% 0.114 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfdd9e',
    500: '#cfcf74',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf74;
$custom-light: #dfdd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf74",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 116
  },
  "hsl": {
    "h": 60,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83495,
    "c": 0.1141,
    "h": 108.6
  },
  "luminance": 0.59152
}

Semantic roles & 50–950 ramp

primary
#CFCF74
secondary
#4C4C9B
accent
#2ABC2A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCF74

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

Preview Lab → · Contrast checker → · Palette generator →

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