#CFC174#CFC174

#CFC174 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.099 H 99.2°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CFC174
RGBrgb(207, 193, 116)
HSLhsl(51, 49%, 63%)
HSVhsv(51, 44%, 81%)
CMYKcmyk(0%, 6.8%, 44%, 18.8%)
CIE-LABlab(77.68, -5.74, 40.43)
CIE-LCHlch(77.68, 40.84, 98.08°)
OKLaboklab(80.56% -0.0159 0.0978)
OKLCHoklch(80.56% 0.099 99.2)
XYZxyz(47.9556, 52.6678, 24.1594)
Luminance0.5267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC174 #7482CF
analogous
#CF9374 #CFC174 #AFCF74
triadic
#CFC174 #74CFC1 #C174CF
tetradic
#CFC174 #74CF93 #7482CF #CF74AF
square
#CFC174 #74CF93 #7482CF #CF74AF
split-complementary
#CFC174 #74AFCF #9374CF
monochromatic
#958633 #BFAD47 #CFC174 #DFD5A1 #EEEACF

Accessibility & contrast

On white

1.82
#CFC174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CFC174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC174
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC174#FFFFFF#000000##000000
##CFC1741.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD6E
Deuteranopia (green-blind)
#D3C277
Tritanopia (blue-blind)
#DBB7AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc174;
/* rgb */ color: rgb(207, 193, 116);
/* oklch */ color: oklch(80.6% 0.099 99.2);
Tailwind
colors: {
  custom: {
    50: '#dfd39d',
    500: '#cfc174',
    950: '#000000',
  },
}
SCSS
$custom: #cfc174;
$custom-light: #dfd39d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc174",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 116
  },
  "hsl": {
    "h": 50.769,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8056,
    "c": 0.09912,
    "h": 99.2
  },
  "luminance": 0.52666
}

Semantic roles & 50–950 ramp

primary
#CFC174
secondary
#4C589B
accent
#40BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC174

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

Preview Lab → · Contrast checker → · Palette generator →

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