#CFCA7C#CFCA7C

#CFCA7C is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.6% C 0.100 H 105.2°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CFCA7C
RGBrgb(207, 202, 124)
HSLhsl(56, 46%, 65%)
HSVhsv(56, 40%, 81%)
CMYKcmyk(0%, 2.4%, 40.1%, 18.8%)
CIE-LABlab(80.16, -9.53, 39.52)
CIE-LCHlch(80.16, 40.66, 103.56°)
OKLaboklab(82.56% -0.0261 0.0962)
OKLCHoklch(82.56% 0.1 105.2)
XYZxyz(50.4916, 56.9629, 27.4000)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA7C #7C81CF
analogous
#CFA17C #CFCA7C #AACF7C
triadic
#CFCA7C #7CCFCA #CA7CCF
tetradic
#CFCA7C #7CCFA1 #7C81CF #CF7CAA
square
#CFCA7C #7CCFA1 #7C81CF #CF7CAA
split-complementary
#CFCA7C #7CAACF #A17CCF
monochromatic
#999338 #BFB84F #CFCA7C #DFDCA9 #F0EED6

Accessibility & contrast

On white

1.69
#CFCA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#CFCA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA7C
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA7C#FFFFFF#000000##000000
##CFCA7C1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C576
Deuteranopia (green-blind)
#D9C97F
Tritanopia (blue-blind)
#DAC1B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfca7c;
/* rgb */ color: rgb(207, 202, 124);
/* oklch */ color: oklch(82.6% 0.100 105.2);
Tailwind
colors: {
  custom: {
    50: '#dfdaa3',
    500: '#cfca7c',
    950: '#000000',
  },
}
SCSS
$custom: #cfca7c;
$custom-light: #dfdaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca7c",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 124
  },
  "hsl": {
    "h": 56.386,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82563,
    "c": 0.0997,
    "h": 105.2
  },
  "luminance": 0.56962
}

Semantic roles & 50–950 ramp

primary
#CFCA7C
secondary
#51559E
accent
#34BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFCA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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