#CFCA7B#CFCA7B

#CFCA7B is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.101 H 105.3°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CFCA7B
RGBrgb(207, 202, 123)
HSLhsl(56, 47%, 65%)
HSVhsv(56, 41%, 81%)
CMYKcmyk(0%, 2.4%, 40.6%, 18.8%)
CIE-LABlab(80.14, -9.64, 40.01)
CIE-LCHlch(80.14, 41.15, 103.54°)
OKLaboklab(82.55% -0.0265 0.0973)
OKLCHoklch(82.55% 0.101 105.3)
XYZxyz(50.4287, 56.9377, 27.0687)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA7B #7B80CF
analogous
#CFA07B #CFCA7B #AACF7B
triadic
#CFCA7B #7BCFCA #CA7BCF
tetradic
#CFCA7B #7BCFA0 #7B80CF #CF7BAA
square
#CFCA7B #7BCFA0 #7B80CF #CF7BAA
split-complementary
#CFCA7B #7BAACF #A07BCF
monochromatic
#989237 #BFB84E #CFCA7B #DFDCA8 #F0EED5

Accessibility & contrast

On white

1.70
#CFCA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCA7B#FFFFFF#000000##000000
##CFCA7B1.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C575
Deuteranopia (green-blind)
#D9C97E
Tritanopia (blue-blind)
#DAC0B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfca7b;
/* rgb */ color: rgb(207, 202, 123);
/* oklch */ color: oklch(82.5% 0.101 105.3);
Tailwind
colors: {
  custom: {
    50: '#dfdaa2',
    500: '#cfca7b',
    950: '#000000',
  },
}
SCSS
$custom: #cfca7b;
$custom-light: #dfdaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca7b",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 56.429,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82547,
    "c": 0.10082,
    "h": 105.3
  },
  "luminance": 0.56937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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