#CFC17A#CFC17A

#CFC17A is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.092 H 98.4°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CFC17A
RGBrgb(207, 193, 122)
HSLhsl(50, 47%, 65%)
HSVhsv(50, 41%, 81%)
CMYKcmyk(0%, 6.8%, 41.1%, 18.8%)
CIE-LABlab(77.76, -5.11, 37.49)
CIE-LCHlch(77.76, 37.84, 97.76°)
OKLaboklab(80.66% -0.0136 0.0915)
OKLCHoklch(80.66% 0.093 98.4)
XYZxyz(48.3160, 52.8120, 26.0572)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC17A #7A88CF
analogous
#CF977A #CFC17A #B2CF7A
triadic
#CFC17A #7ACFC1 #C17ACF
tetradic
#CFC17A #7ACF97 #7A88CF #CF7AB2
square
#CFC17A #7ACF97 #7A88CF #CF7AB2
split-complementary
#CFC17A #7AB2CF #977ACF
monochromatic
#988837 #BFAC4D #CFC17A #DFD6A7 #EFEBD4

Accessibility & contrast

On white

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

On black

11.56
#CFC17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC17A
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC17A#FFFFFF#000000##000000
##CFC17A1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD75
Deuteranopia (green-blind)
#D2C37D
Tritanopia (blue-blind)
#DBB7AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc17a;
/* rgb */ color: rgb(207, 193, 122);
/* oklch */ color: oklch(80.7% 0.092 98.4);
Tailwind
colors: {
  custom: {
    50: '#dfd3a1',
    500: '#cfc17a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc17a;
$custom-light: #dfd3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc17a",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 122
  },
  "hsl": {
    "h": 50.118,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.80655,
    "c": 0.0925,
    "h": 98.4
  },
  "luminance": 0.5281
}

Semantic roles & 50–950 ramp

primary
#CFC17A
secondary
#505C9E
accent
#43BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC17A

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

Preview Lab → · Contrast checker → · Palette generator →

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