#CFCA74#CFCA74

#CFCA74 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.108 H 105.6°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CFCA74
RGBrgb(207, 202, 116)
HSLhsl(57, 49%, 63%)
HSVhsv(57, 44%, 81%)
CMYKcmyk(0%, 2.4%, 44%, 18.8%)
CIE-LABlab(80.05, -10.36, 43.39)
CIE-LCHlch(80.05, 44.61, 103.43°)
OKLaboklab(82.44% -0.0292 0.1045)
OKLCHoklch(82.44% 0.108 105.6)
XYZxyz(50.0061, 56.7687, 24.8429)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA74 #7479CF
analogous
#CF9C74 #CFCA74 #A6CF74
triadic
#CFCA74 #74CFCA #CA74CF
tetradic
#CFCA74 #74CF9C #7479CF #CF74A6
square
#CFCA74 #74CF9C #7479CF #CF74A6
split-complementary
#CFCA74 #74A6CF #9C74CF
monochromatic
#959033 #BFB947 #CFCA74 #DFDBA1 #EEEDCF

Accessibility & contrast

On white

1.70
#CFCA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#CFCA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA74
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA74#FFFFFF#000000##000000
##CFCA741.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46D
Deuteranopia (green-blind)
#DAC878
Tritanopia (blue-blind)
#DBC0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca74;
/* rgb */ color: rgb(207, 202, 116);
/* oklch */ color: oklch(82.4% 0.108 105.6);
Tailwind
colors: {
  custom: {
    50: '#dfda9d',
    500: '#cfca74',
    950: '#000000',
  },
}
SCSS
$custom: #cfca74;
$custom-light: #dfda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca74",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 56.703,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8244,
    "c": 0.10847,
    "h": 105.6
  },
  "luminance": 0.56767
}

Semantic roles & 50–950 ramp

primary
#CFCA74
secondary
#4C519B
accent
#32BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFCA74

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

Preview Lab → · Contrast checker → · Palette generator →

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