#CFC175#CFC175

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

Color values

HEX#CFC175
RGBrgb(207, 193, 117)
HSLhsl(51, 48%, 64%)
HSVhsv(51, 43%, 81%)
CMYKcmyk(0%, 6.8%, 43.5%, 18.8%)
CIE-LABlab(77.69, -5.63, 39.95)
CIE-LCHlch(77.69, 40.34, 98.03°)
OKLaboklab(80.58% -0.0155 0.0968)
OKLCHoklch(80.58% 0.098 99.1)
XYZxyz(48.0141, 52.6912, 24.4674)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC175 #7583CF
analogous
#CF9475 #CFC175 #B0CF75
triadic
#CFC175 #75CFC1 #C175CF
tetradic
#CFC175 #75CF94 #7583CF #CF75B0
square
#CFC175 #75CF94 #7583CF #CF75B0
split-complementary
#CFC175 #75B0CF #9475CF
monochromatic
#968634 #BFAD48 #CFC175 #DFD5A2 #EFEAD0

Accessibility & contrast

On white

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

On black

11.54
#CFC175 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC175
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC175#FFFFFF#000000##000000
##CFC1751.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc175;
/* rgb */ color: rgb(207, 193, 117);
/* oklch */ color: oklch(80.6% 0.098 99.1);
Tailwind
colors: {
  custom: {
    50: '#dfd39e',
    500: '#cfc175',
    950: '#000000',
  },
}
SCSS
$custom: #cfc175;
$custom-light: #dfd39e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc175",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 117
  },
  "hsl": {
    "h": 50.667,
    "s": 48.387,
    "l": 63.529
  },
  "oklch": {
    "l": 0.80575,
    "c": 0.09803,
    "h": 99.1
  },
  "luminance": 0.5269
}

Semantic roles & 50–950 ramp

primary
#CFC175
secondary
#4D599B
accent
#41BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC175

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

Preview Lab → · Contrast checker → · Palette generator →

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