#CFCC7A#CFCC7A

#CFCC7A is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.104 H 106.6°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#CFCC7A
RGBrgb(207, 204, 122)
HSLhsl(58, 47%, 65%)
HSVhsv(58, 41%, 81%)
CMYKcmyk(0%, 1.4%, 41.1%, 18.8%)
CIE-LABlab(80.66, -10.76, 41.16)
CIE-LCHlch(80.66, 42.55, 104.65°)
OKLaboklab(82.95% -0.0298 0.0998)
OKLCHoklch(82.95% 0.104 106.6)
XYZxyz(50.8387, 57.8574, 26.8981)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC7A #7A7DCF
analogous
#CFA27A #CFCC7A #A8CF7A
triadic
#CFCC7A #7ACFCC #CC7ACF
tetradic
#CFCC7A #7ACFA2 #7A7DCF #CF7AA8
square
#CFCC7A #7ACFA2 #7A7DCF #CF7AA8
split-complementary
#CFCC7A #7AA8CF #A27ACF
monochromatic
#989437 #BFBB4D #CFCC7A #DFDDA7 #EFEED4

Accessibility & contrast

On white

1.67
#CFCC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#CFCC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC7A
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC7A#FFFFFF#000000##000000
##CFCC7A1.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C674
Deuteranopia (green-blind)
#DACA7E
Tritanopia (blue-blind)
#DAC2B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcc7a;
/* rgb */ color: rgb(207, 204, 122);
/* oklch */ color: oklch(83.0% 0.104 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfdba2',
    500: '#cfcc7a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc7a;
$custom-light: #dfdba2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc7a",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 122
  },
  "hsl": {
    "h": 57.882,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82951,
    "c": 0.10418,
    "h": 106.6
  },
  "luminance": 0.57856
}

Semantic roles & 50–950 ramp

primary
#CFCC7A
secondary
#50529E
accent
#30BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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