#CFCA6A#CFCA6A

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

Color values

HEX#CFCA6A
RGBrgb(207, 202, 106)
HSLhsl(57, 51%, 61%)
HSVhsv(57, 49%, 81%)
CMYKcmyk(0%, 2.4%, 48.8%, 18.8%)
CIE-LABlab(79.92, -11.31, 48.13)
CIE-LCHlch(79.92, 49.44, 103.23°)
OKLaboklab(82.3% -0.0329 0.1142)
OKLCHoklch(82.3% 0.119 106.1)
XYZxyz(49.4554, 56.5484, 21.9427)
Luminance0.5655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA6A #6A6FCF
analogous
#CF986A #CFCA6A #A2CF6A
triadic
#CFCA6A #6ACFCA #CA6ACF
tetradic
#CFCA6A #6ACF98 #6A6FCF #CF6AA2
square
#CFCA6A #6ACF98 #6A6FCF #CF6AA2
split-complementary
#CFCA6A #6AA2CF #986ACF
monochromatic
#908B2E #BEB83D #CFCA6A #DEDA98 #EDEBC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCA6A#FFFFFF#000000##000000
##CFCA6A1.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)
#D8C461
Deuteranopia (green-blind)
#DAC86F
Tritanopia (blue-blind)
#DCBFB4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfca6a;
/* rgb */ color: rgb(207, 202, 106);
/* oklch */ color: oklch(82.3% 0.119 106.1);
Tailwind
colors: {
  custom: {
    50: '#e0da97',
    500: '#cfca6a',
    950: '#000000',
  },
}
SCSS
$custom: #cfca6a;
$custom-light: #e0da97;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca6a",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 106
  },
  "hsl": {
    "h": 57.03,
    "s": 51.269,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82301,
    "c": 0.11885,
    "h": 106.1
  },
  "luminance": 0.56547
}

Semantic roles & 50–950 ramp

primary
#CFCA6A
secondary
#474B96
accent
#2EBF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFCA6A

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

Preview Lab → · Contrast checker → · Palette generator →

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