#CFCC7D#CFCC7D

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

Color values

HEX#CFCC7D
RGBrgb(207, 204, 125)
HSLhsl(58, 46%, 65%)
HSVhsv(58, 40%, 81%)
CMYKcmyk(0%, 1.4%, 39.6%, 18.8%)
CIE-LABlab(80.70, -10.44, 39.71)
CIE-LCHlch(80.70, 41.06, 104.74°)
OKLaboklab(83% -0.0287 0.0967)
OKLCHoklch(83% 0.101 106.5)
XYZxyz(51.0275, 57.9329, 27.8922)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC7D #7D80CF
analogous
#CFA37D #CFCC7D #A9CF7D
triadic
#CFCC7D #7DCFCC #CC7DCF
tetradic
#CFCC7D #7DCFA3 #7D80CF #CF7DA9
square
#CFCC7D #7DCFA3 #7D80CF #CF7DA9
split-complementary
#CFCC7D #7DA9CF #A37DCF
monochromatic
#999639 #BEBA50 #CFCC7D #E0DEAA #F0EFD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCC7D#FFFFFF#000000##000000
##CFCC7D1.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)
#D8C677
Deuteranopia (green-blind)
#DACA80
Tritanopia (blue-blind)
#DAC3B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcc7d;
/* rgb */ color: rgb(207, 204, 125);
/* oklch */ color: oklch(83.0% 0.101 106.5);
Tailwind
colors: {
  custom: {
    50: '#dfdba4',
    500: '#cfcc7d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc7d;
$custom-light: #dfdba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc7d",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 57.805,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82998,
    "c": 0.10085,
    "h": 106.5
  },
  "luminance": 0.57932
}

Semantic roles & 50–950 ramp

primary
#CFCC7D
secondary
#51549F
accent
#31B92C
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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