#CFCC75#CFCC75

#CFCC75 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.110 H 106.8°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CFCC75
RGBrgb(207, 204, 117)
HSLhsl(58, 48%, 64%)
HSVhsv(58, 43%, 81%)
CMYKcmyk(0%, 1.4%, 43.5%, 18.8%)
CIE-LABlab(80.59, -11.28, 43.57)
CIE-LCHlch(80.59, 45.01, 104.51°)
OKLaboklab(82.88% -0.0317 0.1049)
OKLCHoklch(82.88% 0.11 106.8)
XYZxyz(50.5368, 57.7367, 25.3083)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC75 #7578CF
analogous
#CF9F75 #CFCC75 #A5CF75
triadic
#CFCC75 #75CFCC #CC75CF
tetradic
#CFCC75 #75CF9F #7578CF #CF75A5
square
#CFCC75 #75CF9F #7578CF #CF75A5
split-complementary
#CFCC75 #75A5CF #9F75CF
monochromatic
#969234 #BFBB48 #CFCC75 #DFDDA2 #EFEED0

Accessibility & contrast

On white

1.67
#CFCC75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CFCC75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC75
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC75#FFFFFF#000000##000000
##CFCC751.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66E
Deuteranopia (green-blind)
#DBCA79
Tritanopia (blue-blind)
#DBC2B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcc75;
/* rgb */ color: rgb(207, 204, 117);
/* oklch */ color: oklch(82.9% 0.110 106.8);
Tailwind
colors: {
  custom: {
    50: '#dfdb9e',
    500: '#cfcc75',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc75;
$custom-light: #dfdb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc75",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 117
  },
  "hsl": {
    "h": 58,
    "s": 48.387,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82876,
    "c": 0.10963,
    "h": 106.8
  },
  "luminance": 0.57735
}

Semantic roles & 50–950 ramp

primary
#CFCC75
secondary
#4D4F9B
accent
#2FBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCC75

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

Preview Lab → · Contrast checker → · Palette generator →

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