#CFCC7E#CFCC7E

#CFCC7E is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.100 H 106.5°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#CFCC7E
RGBrgb(207, 204, 126)
HSLhsl(58, 46%, 65%)
HSVhsv(58, 39%, 81%)
CMYKcmyk(0%, 1.4%, 39.1%, 18.8%)
CIE-LABlab(80.72, -10.33, 39.22)
CIE-LCHlch(80.72, 40.56, 104.76°)
OKLaboklab(83.01% -0.0283 0.0956)
OKLCHoklch(83.01% 0.1 106.5)
XYZxyz(51.0917, 57.9586, 28.2303)
Luminance0.5796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC7E #7E81CF
analogous
#CFA37E #CFCC7E #A9CF7E
triadic
#CFCC7E #7ECFCC #CC7ECF
tetradic
#CFCC7E #7ECFA3 #7E81CF #CF7EA9
square
#CFCC7E #7ECFA3 #7E81CF #CF7EA9
split-complementary
#CFCC7E #7EA9CF #A37ECF
monochromatic
#999639 #BEBA51 #CFCC7E #E0DEAB #F0EFD7

Accessibility & contrast

On white

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

On black

12.59
#CFCC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC7E
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC7E#FFFFFF#000000##000000
##CFCC7E1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C678
Deuteranopia (green-blind)
#DACA81
Tritanopia (blue-blind)
#DAC3B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcc7e;
/* rgb */ color: rgb(207, 204, 126);
/* oklch */ color: oklch(83.0% 0.100 106.5);
Tailwind
colors: {
  custom: {
    50: '#dfdba4',
    500: '#cfcc7e',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc7e;
$custom-light: #dfdba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc7e",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 126
  },
  "hsl": {
    "h": 57.778,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83014,
    "c": 0.09973,
    "h": 106.5
  },
  "luminance": 0.57957
}

Semantic roles & 50–950 ramp

primary
#CFCC7E
secondary
#52559F
accent
#32B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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