#CFCA7D#CFCA7D

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

Color values

HEX#CFCA7D
RGBrgb(207, 202, 125)
HSLhsl(56, 46%, 65%)
HSVhsv(56, 40%, 81%)
CMYKcmyk(0%, 2.4%, 39.6%, 18.8%)
CIE-LABlab(80.17, -9.42, 39.04)
CIE-LCHlch(80.17, 40.16, 103.57°)
OKLaboklab(82.58% -0.0257 0.0952)
OKLCHoklch(82.58% 0.099 105.1)
XYZxyz(50.5552, 56.9883, 27.7348)
Luminance0.5699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA7D #7D82CF
analogous
#CFA17D #CFCA7D #ABCF7D
triadic
#CFCA7D #7DCFCA #CA7DCF
tetradic
#CFCA7D #7DCFA1 #7D82CF #CF7DAB
square
#CFCA7D #7DCFA1 #7D82CF #CF7DAB
split-complementary
#CFCA7D #7DABCF #A17DCF
monochromatic
#999339 #BEB850 #CFCA7D #E0DCAA #F0EED6

Accessibility & contrast

On white

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

On black

12.40
#CFCA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA7D
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA7D#FFFFFF#000000##000000
##CFCA7D1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfca7d;
/* rgb */ color: rgb(207, 202, 125);
/* oklch */ color: oklch(82.6% 0.099 105.1);
Tailwind
colors: {
  custom: {
    50: '#dfdaa4',
    500: '#cfca7d',
    950: '#000000',
  },
}
SCSS
$custom: #cfca7d;
$custom-light: #dfdaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca7d",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 125
  },
  "hsl": {
    "h": 56.341,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82579,
    "c": 0.09858,
    "h": 105.1
  },
  "luminance": 0.56987
}

Semantic roles & 50–950 ramp

primary
#CFCA7D
secondary
#51569F
accent
#35B92C
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFCA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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