#CFC674#CFC674

#CFC674 is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.104 H 102.9°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CFC674
RGBrgb(207, 198, 116)
HSLhsl(54, 49%, 63%)
HSVhsv(54, 44%, 81%)
CMYKcmyk(0%, 4.3%, 44%, 18.8%)
CIE-LABlab(78.99, -8.32, 42.08)
CIE-LCHlch(78.99, 42.89, 101.18°)
OKLaboklab(81.6% -0.0233 0.1015)
OKLCHoklch(81.6% 0.104 102.9)
XYZxyz(49.0797, 54.9159, 24.5341)
Luminance0.5492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC674 #747DCF
analogous
#CF9874 #CFC674 #AACF74
triadic
#CFC674 #74CFC6 #C674CF
tetradic
#CFC674 #74CF98 #747DCF #CF74AA
square
#CFC674 #74CF98 #747DCF #CF74AA
split-complementary
#CFC674 #74AACF #9874CF
monochromatic
#958B33 #BFB347 #CFC674 #DFD9A1 #EEEBCF

Accessibility & contrast

On white

1.75
#CFC674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CFC674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC674
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC674#FFFFFF#000000##000000
##CFC6741.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16D
Deuteranopia (green-blind)
#D6C677
Tritanopia (blue-blind)
#DBBCB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc674;
/* rgb */ color: rgb(207, 198, 116);
/* oklch */ color: oklch(81.6% 0.104 102.9);
Tailwind
colors: {
  custom: {
    50: '#dfd79d',
    500: '#cfc674',
    950: '#000000',
  },
}
SCSS
$custom: #cfc674;
$custom-light: #dfd79d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc674",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 116
  },
  "hsl": {
    "h": 54.066,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81601,
    "c": 0.10417,
    "h": 102.9
  },
  "luminance": 0.54915
}

Semantic roles & 50–950 ramp

primary
#CFC674
secondary
#4C549B
accent
#38BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC674

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

Preview Lab → · Contrast checker → · Palette generator →

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