#CFC774#CFC774

#CFC774 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.105 H 103.6°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CFC774
RGBrgb(207, 199, 116)
HSLhsl(55, 49%, 63%)
HSVhsv(55, 44%, 81%)
CMYKcmyk(0%, 3.9%, 44%, 18.8%)
CIE-LABlab(79.26, -8.83, 42.41)
CIE-LCHlch(79.26, 43.32, 101.76°)
OKLaboklab(81.81% -0.0248 0.1023)
OKLCHoklch(81.81% 0.105 103.6)
XYZxyz(49.3090, 55.3746, 24.6105)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC774 #747CCF
analogous
#CF9974 #CFC774 #A9CF74
triadic
#CFC774 #74CFC7 #C774CF
tetradic
#CFC774 #74CF99 #747CCF #CF74A9
square
#CFC774 #74CF99 #747CCF #CF74A9
split-complementary
#CFC774 #74A9CF #9974CF
monochromatic
#958D33 #BFB547 #CFC774 #DFD9A1 #EEECCF

Accessibility & contrast

On white

1.74
#CFC774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CFC774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC774
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC774#FFFFFF#000000##000000
##CFC7741.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C26D
Deuteranopia (green-blind)
#D7C678
Tritanopia (blue-blind)
#DBBDB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc774;
/* rgb */ color: rgb(207, 199, 116);
/* oklch */ color: oklch(81.8% 0.105 103.6);
Tailwind
colors: {
  custom: {
    50: '#dfd79d',
    500: '#cfc774',
    950: '#000000',
  },
}
SCSS
$custom: #cfc774;
$custom-light: #dfd79d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc774",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 116
  },
  "hsl": {
    "h": 54.725,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81811,
    "c": 0.10523,
    "h": 103.6
  },
  "luminance": 0.55373
}

Semantic roles & 50–950 ramp

primary
#CFC774
secondary
#4C539B
accent
#36BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC774

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

Preview Lab → · Contrast checker → · Palette generator →

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