#CFCA6B#CFCA6B

#CFCA6B is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.118 H 106.0°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CFCA6B
RGBrgb(207, 202, 107)
HSLhsl(57, 51%, 62%)
HSVhsv(57, 48%, 81%)
CMYKcmyk(0%, 2.4%, 48.3%, 18.8%)
CIE-LABlab(79.94, -11.22, 47.66)
CIE-LCHlch(79.94, 48.97, 103.25°)
OKLaboklab(82.31% -0.0325 0.1133)
OKLCHoklch(82.31% 0.118 106)
XYZxyz(49.5077, 56.5694, 22.2181)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA6B #6B70CF
analogous
#CF986B #CFCA6B #A2CF6B
triadic
#CFCA6B #6BCFCA #CA6BCF
tetradic
#CFCA6B #6BCF98 #6B70CF #CF6BA2
square
#CFCA6B #6BCF98 #6B70CF #CF6BA2
split-complementary
#CFCA6B #6BA2CF #986BCF
monochromatic
#918C2F #BFB83E #CFCA6B #DEDB99 #EDEBC7

Accessibility & contrast

On white

1.71
#CFCA6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#CFCA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA6B
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA6B#FFFFFF#000000##000000
##CFCA6B1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C463
Deuteranopia (green-blind)
#DAC86F
Tritanopia (blue-blind)
#DBBFB4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca6b;
/* rgb */ color: rgb(207, 202, 107);
/* oklch */ color: oklch(82.3% 0.118 106.0);
Tailwind
colors: {
  custom: {
    50: '#dfda97',
    500: '#cfca6b',
    950: '#000000',
  },
}
SCSS
$custom: #cfca6b;
$custom-light: #dfda97;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca6b",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 107
  },
  "hsl": {
    "h": 57,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82314,
    "c": 0.11785,
    "h": 106
  },
  "luminance": 0.56568
}

Semantic roles & 50–950 ramp

primary
#CFCA6B
secondary
#474B97
accent
#2FBE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFCA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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