#CFCA6D#CFCA6D

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

Color values

HEX#CFCA6D
RGBrgb(207, 202, 109)
HSLhsl(57, 51%, 62%)
HSVhsv(57, 47%, 81%)
CMYKcmyk(0%, 2.4%, 47.3%, 18.8%)
CIE-LABlab(79.96, -11.04, 46.72)
CIE-LCHlch(79.96, 48.01, 103.29°)
OKLaboklab(82.34% -0.0318 0.1114)
OKLCHoklch(82.34% 0.116 105.9)
XYZxyz(49.6141, 56.6119, 22.7787)
Luminance0.5661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA6D #6D72CF
analogous
#CF996D #CFCA6D #A3CF6D
triadic
#CFCA6D #6DCFCA #CA6DCF
tetradic
#CFCA6D #6DCF99 #6D72CF #CF6DA3
square
#CFCA6D #6DCF99 #6D72CF #CF6DA3
split-complementary
#CFCA6D #6DA3CF #996DCF
monochromatic
#928D30 #C0B93F #CFCA6D #DEDB9B #EDEBC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCA6D#FFFFFF#000000##000000
##CFCA6D1.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)
#D8C465
Deuteranopia (green-blind)
#DAC871
Tritanopia (blue-blind)
#DBBFB4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca6d;
/* rgb */ color: rgb(207, 202, 109);
/* oklch */ color: oklch(82.3% 0.116 105.9);
Tailwind
colors: {
  custom: {
    50: '#dfda99',
    500: '#cfca6d',
    950: '#000000',
  },
}
SCSS
$custom: #cfca6d;
$custom-light: #dfda99;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca6d",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 109
  },
  "hsl": {
    "h": 56.939,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82341,
    "c": 0.11581,
    "h": 105.9
  },
  "luminance": 0.56611
}

Semantic roles & 50–950 ramp

primary
#CFCA6D
secondary
#484D98
accent
#2FBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFCA6D

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

Preview Lab → · Contrast checker → · Palette generator →

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