#CFC17C#CFC17C

#CFC17C is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.090 H 98.1°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CFC17C
RGBrgb(207, 193, 124)
HSLhsl(50, 46%, 65%)
HSVhsv(50, 40%, 81%)
CMYKcmyk(0%, 6.8%, 40.1%, 18.8%)
CIE-LABlab(77.79, -4.89, 36.50)
CIE-LCHlch(77.79, 36.83, 97.64°)
OKLaboklab(80.69% -0.0128 0.0893)
OKLCHoklch(80.69% 0.09 98.1)
XYZxyz(48.4412, 52.8621, 26.7166)
Luminance0.5286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC17C #7C8ACF
analogous
#CF987C #CFC17C #B3CF7C
triadic
#CFC17C #7CCFC1 #C17CCF
tetradic
#CFC17C #7CCF98 #7C8ACF #CF7CB3
square
#CFC17C #7CCF98 #7C8ACF #CF7CB3
split-complementary
#CFC17C #7CB3CF #987CCF
monochromatic
#998838 #BFAC4F #CFC17C #DFD6A9 #F0EBD6

Accessibility & contrast

On white

1.81
#CFC17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#CFC17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC17C
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC17C#FFFFFF#000000##000000
##CFC17C1.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD77
Deuteranopia (green-blind)
#D2C37F
Tritanopia (blue-blind)
#DBB8B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc17c;
/* rgb */ color: rgb(207, 193, 124);
/* oklch */ color: oklch(80.7% 0.090 98.1);
Tailwind
colors: {
  custom: {
    50: '#dfd3a3',
    500: '#cfc17c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc17c;
$custom-light: #dfd3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc17c",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 124
  },
  "hsl": {
    "h": 49.88,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.80688,
    "c": 0.09025,
    "h": 98.1
  },
  "luminance": 0.52861
}

Semantic roles & 50–950 ramp

primary
#CFC17C
secondary
#515E9E
accent
#44BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC17C

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

Preview Lab → · Contrast checker → · Palette generator →

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