#CFCA6C#CFCA6C

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

Color values

HEX#CFCA6C
RGBrgb(207, 202, 108)
HSLhsl(57, 51%, 62%)
HSVhsv(57, 48%, 81%)
CMYKcmyk(0%, 2.4%, 47.8%, 18.8%)
CIE-LABlab(79.95, -11.13, 47.19)
CIE-LCHlch(79.95, 48.49, 103.27°)
OKLaboklab(82.33% -0.0322 0.1123)
OKLCHoklch(82.33% 0.117 106)
XYZxyz(49.5606, 56.5905, 22.4968)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA6C #6C71CF
analogous
#CF996C #CFCA6C #A3CF6C
triadic
#CFCA6C #6CCFCA #CA6CCF
tetradic
#CFCA6C #6CCF99 #6C71CF #CF6CA3
square
#CFCA6C #6CCF99 #6C71CF #CF6CA3
split-complementary
#CFCA6C #6CA3CF #996CCF
monochromatic
#918C2F #BFB93E #CFCA6C #DEDB9A #EDEBC8

Accessibility & contrast

On white

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

On black

12.32
#CFCA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA6C
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA6C#FFFFFF#000000##000000
##CFCA6C1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfca6c;
/* rgb */ color: rgb(207, 202, 108);
/* oklch */ color: oklch(82.3% 0.117 106.0);
Tailwind
colors: {
  custom: {
    50: '#dfda98',
    500: '#cfca6c',
    950: '#000000',
  },
}
SCSS
$custom: #cfca6c;
$custom-light: #dfda98;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca6c",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 108
  },
  "hsl": {
    "h": 56.97,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82328,
    "c": 0.11684,
    "h": 106
  },
  "luminance": 0.56589
}

Semantic roles & 50–950 ramp

primary
#CFCA6C
secondary
#484C97
accent
#2FBE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFCA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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