#CFCC6A#CFCC6A

#CFCC6A is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.121 H 107.2°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CFCC6A
RGBrgb(207, 204, 106)
HSLhsl(58, 51%, 61%)
HSVhsv(58, 49%, 81%)
CMYKcmyk(0%, 1.4%, 48.8%, 18.8%)
CIE-LABlab(80.46, -12.33, 48.77)
CIE-LCHlch(80.46, 50.30, 104.19°)
OKLaboklab(82.72% -0.0358 0.1156)
OKLCHoklch(82.72% 0.121 107.2)
XYZxyz(49.9277, 57.4930, 22.1001)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC6A #6A6DCF
analogous
#CF9A6A #CFCC6A #A0CF6A
triadic
#CFCC6A #6ACFCC #CC6ACF
tetradic
#CFCC6A #6ACF9A #6A6DCF #CF6AA0
square
#CFCC6A #6ACF9A #6A6DCF #CF6AA0
split-complementary
#CFCC6A #6AA0CF #9A6ACF
monochromatic
#908D2E #BEBB3D #CFCC6A #DEDC98 #EDECC7

Accessibility & contrast

On white

1.68
#CFCC6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#CFCC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC6A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC6A#FFFFFF#000000##000000
##CFCC6A1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC561
Deuteranopia (green-blind)
#DCCA6F
Tritanopia (blue-blind)
#DBC1B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcc6a;
/* rgb */ color: rgb(207, 204, 106);
/* oklch */ color: oklch(82.7% 0.121 107.2);
Tailwind
colors: {
  custom: {
    50: '#e0db97',
    500: '#cfcc6a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc6a;
$custom-light: #e0db97;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc6a",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 106
  },
  "hsl": {
    "h": 58.218,
    "s": 51.269,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82723,
    "c": 0.12102,
    "h": 107.2
  },
  "luminance": 0.57492
}

Semantic roles & 50–950 ramp

primary
#CFCC6A
secondary
#474996
accent
#2BBF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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